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.

Change the maximum number of pictures in XP?

So, my problem is very simple: How can I make the XP to use more pictures than 50?
(I just can't find the answer, if someone already asked it, then I'm deeply sorry...)
 
So after I modified the
Spriteset_Map
like: 1..100
and the
Game_Screen
like: 1..100
(I wanted to make 100 picture.)
I should use script to show the pictures?
(I would prefer the original way of doing this...)
 
You'd need to use script calls to show pictures with an ID above 50. For evetything below you still can use the standard editor.
Since we are using a little trick to show more pictures than xp allows us to, we can't use the editor anymore.

Hope this helps

~Dalton~
 
Cool, it works! ^^ I used a script like this:
$game_screen.pictures[54].show("a", 1, 320, 240, 100, 100, 255, 0)
Thanks God, it's not difficult at all...
Anyway: Is there a way to make more than 100 pictures?
(I don't need it, my problem is solved, I'm just curious. ^^)
 
Uhh... I found something interesting: If I use a picture, called "Kom1", that's fine. But if I rename it to "Kom12" that cause an error. (I modified the script too...) Another variations for not working: "Kom_2" ; "Kom_2_Hársfaág" ; Kom_2_Harsfaag"
I just don't get it... :blank:
 
OMG, now I get it. The script-window is too narrow. Because if I use a long name, then it goes to the nest line, and it cause an error.
For example:
"Kom21" --> wrong
"Ko21" --> works

Is there a way to solve this problem? :cry:
 
You could try to use \ at the end of a line. But you are not allowed to break an argument with it.
Here is an example code from my game:

$game_screen.pictures[70].show\
("Cursor2", 0, 242, 293)


I'm not sure if there is a way to use more then 100 pictures, but I would really wonder if someone would need that many...

Hope this helps

~Dalton~
 

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