Hey
I tried to look around in the forum but could not find something like my problem.
When I press left mouse bottom, I should create a piece of road.
It does it, when I run it in windows, but when I switch to HTML, then it create the car instead.
I tried to delete the car object and sprite, and it still create the car. . .
Mick
Create wrong object/sprite
Started by mick1001, Mar 24 2012 04:05 PM
1 reply to this topic
#1
Posted 24 March 2012 - 04:05 PM
#2
Posted 27 March 2012 - 12:36 PM
You are probably using a number for the id of the sprite you are using - on GM:HTML5 and GM:S the rules changed so you need to use the correct name for the sprite or background that you want not a hard coded number - so if you want to create a section of road (and the object name is oRoad) then you should use instance_create( oRoad ) as between 8.1 and HTML5 or Studio the numbers will be different.
Russell
Russell
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











