Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / adding another function to the code problem

Author
Message
Youg
14
Years of Service
User Offline
Joined: 3rd Feb 2010
Location:
Posted: 3rd Feb 2010 17:41
I've got a problem with a game i've been coding, I'm on the second level and Ideally i would like to use it as a complete new function, but linking the first leve which is a separate function, to the new one is proving to be more problematic than imagined.

I've included a bit of the coding of how I'm trying it, whether someone could help would be greatly appriciated.

Youg
14
Years of Service
User Offline
Joined: 3rd Feb 2010
Location:
Posted: 3rd Feb 2010 17:57
okay I've managed to get it so that it goes into the function i believe, just now i get an error stating that:

user function declaration must use no spaces and include a set of brackets at line 520.

here's the coding that i've used:



its not the entire game coding obv, but it doesn't like the line between the REM images and loading the bitmap.
Youg
14
Years of Service
User Offline
Joined: 3rd Feb 2010
Location:
Posted: 4th Feb 2010 11:26
lol, i've figured out the problem, it was just a space between the brackets and the new function, simple fix.

Login to post a reply

Server time is: 2024-03-19 08:22:39
Your offset time is: 2024-03-19 08:22:39