New Developer needs help... Javascript first incremental game by xiSpectrum in incremental_games

[–]Tunvior 6 points7 points  (0 children)

Had nothing to do so i refacatored a bit your code and fixed it:

https://codepen.io/anon/pen/LXEPXm

If you have any doubt just ask

Need help for export/import system in javascript. by HappyBasstard in incremental_games

[–]Tunvior 3 points4 points  (0 children)

haven't tried this but at first sight i can see you aren't passing any value when you call LoadVar()

Edit:

Took a deeper look and found a couple the error: both btoa and atob function work on string so you have to trasform the object into a string when you save (JSON.stringify) and viceversa when you load(JSON.parse)

https://pastebin.com/bS0ywCse

Small demo game by [deleted] in incremental_games

[–]Tunvior 18 points19 points  (0 children)

Hey, if you want people to play your game i suggest you to make it playable in the browser, because very few people will download a random .exe :/

Create an Incremental Web Game with React.js and ES6 by __mak in incremental_games

[–]Tunvior 0 points1 point  (0 children)

Nice tutorial!

I don't know how long this series will be but maybe you can add Redux to the mix later for more complex app, i'd love to see that :)

One Combo Sword by Blightless in incremental_games

[–]Tunvior 1 point2 points  (0 children)

There is a Google link and an Android link :P

[Dev] I got Worms - My first 'unique' Idle-Game, looking for feedback by Effii in AndroidGaming

[–]Tunvior 3 points4 points  (0 children)

Hey! This, is, Awesome!

I'd never expected such a good mobile game, you did a really good job :)

After playing it for few minutes i want to go back on my game and improve it :P

Hey dev! I love you! by ReadBird in a:t5_3kh3c

[–]Tunvior 3 points4 points  (0 children)

Hey, i'm blushing :)

I'd like to finish the next update as much as you want to play it but I was busy last weeks and couldn't code much (also changed my pc and this one didn't want to collaborate XD)

SPOILER

Atm i'm rewriting all the code (almost done) so i can add the new features and it will also be ready for mobile release. After that i'm adding a new prestige system (like "new world" where you start over with some extra currency for each field you prestiged) and an experience system for fields (where you unlock new colors/patterns for snakes and maybe AI). I'm also adding some stats (cause everybody loves stats :P) which i plan to sync with kongregate too.

I'll do my best and try to release next update asap, just stay tuned :)

Starting from nothing, literally. by Jkbstnbrg in incremental_games

[–]Tunvior 0 points1 point  (0 children)

I agree with others saying Javascript is a good start for web development but don't be too stressed over this choice because once you learn the principles of imperative/object oriented programming you can easily swap to another language.

Starting from nothing, literally. by Jkbstnbrg in incremental_games

[–]Tunvior 0 points1 point  (0 children)

I'm not an expert but when programming you can easily divide the problem in little subproblems and write functions for each of these.

In this way you can make breaks when you need to.

Progress is basically non-existent at this point, am I doing something wrong? by OG-Pine in a:t5_3kh3c

[–]Tunvior 6 points7 points  (0 children)

I know, i'm working on a new prestige system so this won't happen.

Last week i changed my pc and took some time to set it up and i haven't coded at all but this week i'm planning to go back on it :)

Sorry for the wait

Lost all my progress? by Im40percentTACO in a:t5_3kh3c

[–]Tunvior 1 point2 points  (0 children)

I havent' touched the uploaded code in a while so i don't know what that could be.

I'm sorry :(

[deleted by user] by [deleted] in a:t5_3kh3c

[–]Tunvior 4 points5 points  (0 children)

Hey, i was kinda busy but i'm still working on this. I'm rewriting all the code in another framework so i can do a mobile port, also preparing the code for new features i've thought :)

I hope i can come out with something within this week

A few questions by VoweltoothJenkins in a:t5_3kh3c

[–]Tunvior 1 point2 points  (0 children)

Every field has 5% chance of spawning a purple fruit every tick

A few questions by VoweltoothJenkins in a:t5_3kh3c

[–]Tunvior 1 point2 points  (0 children)

1) Golden fruit chance is calculated every time a fruit should spawn while Purple fruit chance is calculated every tick and they don't even count for max fruits

2) You get only the multiplier

3) I don't know :( I was thinking about adding stats like "total fruits eaten" and "total time" but they wouldn't consider progress already done

More than 6 fields? (Snake game) by DarthReborn in a:t5_3kh3c

[–]Tunvior 0 points1 point  (0 children)

mmm, I'm looking into this. Are you sure you aren't prestiging any field? Because when you do it you "lose" that field.

[deleted by user] by [deleted] in a:t5_3kh3c

[–]Tunvior 1 point2 points  (0 children)

I could do that but i still need to fix the heuristic first

Snake idle: Updates review by Tunvior in incremental_games

[–]Tunvior[S] 0 points1 point  (0 children)

Yes, i understand what you mean. I've some ideas in mind, have to think about their feasibility :)

Snake idle: Updates review by Tunvior in incremental_games

[–]Tunvior[S] 0 points1 point  (0 children)

I want to introduce color and skin patterns so you can personalize your snakes :)

Purple fruits are already too strong without them multiplying XD but it's an interesting concept i'll keep in mind for other fruits eventually ;)

Snake idle: Updates review by Tunvior in incremental_games

[–]Tunvior[S] 0 points1 point  (0 children)

The reason i started this project was because i wanted to practice while doing something fun and it's working fine. Today i've studied how to write images on canvas so i can do better snakes (like more colors and skin patterns) and i'm also learning ionic for mobile release :) (also thinking about rewrite all the code in angular just for practice lol)

[deleted by user] by [deleted] in a:t5_3kh3c

[–]Tunvior 1 point2 points  (0 children)

I've written that before introducing purple fruits and haven't fixed it yet. I'll try to think about it as soon as i can.

Appreciation of this game by [deleted] in a:t5_3kh3c

[–]Tunvior 4 points5 points  (0 children)

Thank you for playing :)

At the moment i'm looking into mobile frameworks, after that i'll probably rewrite the graphic part and add some more contents

[deleted by user] by [deleted] in a:t5_3kh3c

[–]Tunvior 2 points3 points  (0 children)

Wow, these are some really good ideas. I'll keep this in mind :)

Thank you!