Discord
Login
Community
DARK THEME

Grpahic bugs

Demonstration of a graphics error. I have edges after performing the procedure screen.fillRect.


https://microstudio.io/Loginus/testgradient2/


Can you hear the beep ?? Can graphics and sound routines be called in init () ??

First text and then audio (don't forget the note).

audio.beep("?")

To prevent the edges, clear the screen in draw() (so you will have to rewrite your text in draw())

;)

My mistake . If there is audio.beep () then no drawText will be executed after this either. I don't get any error message.

For example: call sind() built into microStudio does not terminate init() - even though it also does not have a parameter.


Coming back to the graphical error: I wanted to be smart and not draw 100 objects every time I move one object. Objects do not overlap and are static. So the less cost is to wipe one off and redraw that object. This mistake, however, ruins my assumptions, the game will have to be less complex, or there will be graphic glitch

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community