Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The code is housed in the Step event currently, though I've tried the Create and Draw events as well.
My only remaining idea is that maybe your depth values are a bit weird and something's being drawn over it, but you'd be having issues then even with just your basic object appearing.
Thre reason your base sprite wasn't appearing, consequently, is that the Draw event overwrites and object's default draw function (which is the previously mentioned draw_self()), so to keep that intact, just slap draw_self() at the start of the event and you should be fine.
Really not sure what's causing your problems here, though. Kinda baffled.
Like Zaron mentioned, the reason the sprite disapears when you've got the code in the Draw event is because when the Draw event has no code (by default), it just runs draw_self();
What's the color value you're using? The rest should work.
last time i simply had to retype my code. there was no errors as i compared but it just wouldn't read it correctly
so i too will have to find work arounds, or exlore the other draw events and see if they work. all i wanted was to rotate the sprite in the draw event. nothing more