Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Cursor_Rect stop flashing!

I've been playing around with the cursor_rect and want to change it so that it is a bullet point and not a flashy cursor thing. At first I just placed an image on each side of the cursor_rect, and turned cursor_rect off - however this seems to have huge effects on the performance of the menus - and when you have two selectablemenus (like in equip or menu status in the standard menus) it becomes noticably laggy.

So now what I'm doing is I'm putting a bullet point in the cursor_rect box and moving the cursor_rect to the left of the menu - that way it scrolls down like a bullet point. However the main problem is that the cursor rect keeps on flashing - which really makes my bullet point look less defined and not as good. I've tried turning off the cursor_rects flashing - but the cursor_rect itself doesn't seem to have that function.

So if anyone knows how I can change the cursor rect into a bullet point that doesn't flash I'd be glad to hear from you - if you know how to get a bullet point on each side without messing up the performance you get a gold star.
 
The cursor_rect flash is updated when the method .update of the Window is called. So, if you don't update the window, the flash won't be updated.
However, deactivating the cursor rect should not make the game lag more, it should make the game less laggy. Maybe your modifications are a bit bad coded and that's why it generates lag.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top