im having a lot of trouble creating a level system for my rpg game

i have a health bar but no level system for when my character gains xp it levels up
i downloaded a free level system but i cant merge it into my game and i cant find any tables on it to figure out how they did it

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    If you describe the type of level system you want, maybe someone here can help you to create it.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • jigglybeanjigglybean Member Posts: 1,584

    Your best bet is to contact the seller directly for help. And/or to provide notes of where to change things.

    Like Balls? Then click here! We've 100 coming soon

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2015

    @jigglybean Agree that this is what we recommend to people who purchase a template but seeing as it's a free template, it may not come with support.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • RPRP Member Posts: 1,990

    I can't imagine anyone that created a freebee 'leveling-system' is going to willingly spend the time support getting it working in your project without $$$ (not to mention what types of hurdles you will encounter trying to get it to work). You may be better off seeking someone to help you do this from scratch. Less headaches and built for your game specifically.

  • deej011deej011 Member Posts: 159

    It is really hard to just copy a template into your game and expect it to work you have to study the template and understand why it works so you can implement it into your game especially for something this complicated.

  • i have an rpg game so its levels
    i pretty much have an xp bar and after level one it takes more xp to get to level 2 ect.
    so my xp bar have an interger called random number and one called random number so when i kill an enemy it adds random number less that the value of the xp bar points

    i think this is where my problem starts though because on the template i cant find any charts or anything for the random number

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    What is your question?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • my xp bar doesnt work
    so im trying to figure out how to get this level system to work

    i need to level up my character with xp and i need more xp each time i level up

  • AlchimiaStudiosAlchimiaStudios Member Posts: 1,069

    @wendell_heather@yahoo.com said:
    my xp bar doesnt work
    so im trying to figure out how to get this level system to work

    i need to level up my character with xp and i need more xp each time i level up

    XP bar could (and generally should) just be a visual representation of the underlying system for leveling and XP. So it should be quite possible for the system to level you with the exp bar broken.

    Is the system itself working or both the bar and the system broken?

    Follow us: Twitter - Website

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @wendell_heather@yahoo.com said:
    my xp bar doesnt work
    so im trying to figure out how to get this level system to work

    i need to level up my character with xp and i need more xp each time i level up

    Sorry to be nit-picky but that's still not a question. Stating that you're trying to get something to work doesn't explain specifically enough what you need from us.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • i guess everything for the leveling system i explained nothing works

  • or a revised version of how i can create a leveling system with xp points and levels
    im asking how do i create a leveling system where after each level you need more xp

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    When attribute game.xp > 1000, change attribute game.level to game.level+1 and change attribute game.xp to 0. Or, Constrain attribute game.level to floor(game.xp/1000)+1.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • AlchimiaStudiosAlchimiaStudios Member Posts: 1,069

    @wendell_heather@yahoo.com said:
    or a revised version of how i can create a leveling system with xp points and levels
    im asking how do i create a leveling system where after each level you need more xp

    @tatiang said:
    When attribute game.xp > 1000, change attribute game.level to game.level+1 and change attribute game.xp to 0. Or, Constrain attribute game.level to floor(game.xp/1000)+1.

    @tatiang example is a nice simple way to base each level off of a 1000xp requirement for every level.

    If you want to do an auto scaling equation so each level requires more xp then the previous I would use square roots.

    Constrain game.level to (sqrt(100*game.exp))/100 provides a nice scaling to start with, change the numbers around to provide different scaling amount.

    There also some other more complex ways of doing a scaling leveling system that consider saving/loading/exp bars etc.

    Follow us: Twitter - Website

  • wendell_heather@yahoo.comwendell_heather@yahoo.com Member Posts: 36
    edited February 2015

    (sqrt(100 * game.exp))/100
    is in the xp bar its like self width (sqrt(100 * game.exp))/100

    but something isnt right in it because it doesnt work when i get home i will get the full coding thats in it

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    The forums auto-formatting can be a pain sometimes. If you use an asterisk to symbolize multiplication, be sure to separate it with spaces. I've fixed your post.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • AlchimiaStudiosAlchimiaStudios Member Posts: 1,069

    @wendell_heather@yahoo.com said:
    (sqrt(100game.exp))/100
    is in the xp bar its like self width (sqrt(100
    game.exp))/100

    but something isnt right in it because it doesnt work when i get home i will get the full coding thats in it

    Here is a demo (attached) with a complete (but different) system I made.

    Follow us: Twitter - Website

  • thank you alchimia the only problem i have now is that the xp bar keeps getting bigger and bigger and then when the level up is supposed to occur it doesnt show up on the display game level it stays at 0

  • so now it is making the xp bar get harder but it wont show the level i am on
    also how toi make my xp bar stay smaller

Sign In or Register to comment.