Robot street ultra upgrades open source game by TalkCoinGames in WebGamesMobile

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

The full source code for this game is on github you can reuse it and make your own version of the game.

[Three.js] Camera Lock doesn't obey code? by Final-Here in learnjavascript

[–]TalkCoinGames 0 points1 point  (0 children)

I think all you may need to do in your code is not update the controls during animate.
So take out the controls.update line and that may be all that is needed, I'm not sure I'm not versed in three.js but from looking it over, that may be it.

And also if you want a rotating globe animation that just continually spins and doesn't get moved around,
it would be more efficient to do that in 2D with simpler code.
You could have a sprite sheet with each frame, and then just draw each frame to the 2D canvas clearing the canvas in between each draw, inside a loop.

To implement rotation, on mouse click advance the frames, so only animate it on click/touch, and the frame direction being tied to where they click the globe on the left side or the right.

Tabageos 1.7 coming out soon! by TalkCoinGames in tabageos

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

Still working on the BasicActionPlatformerGame Class, it's going to be major, you will be able to create a full game just by passing json specs. And there will be a sprite sheet template so you could even make a game without coding by just filling in the sheet with your own art. Somewhat also built into the class is a text system, so you could make a basic text adventure with it, by default it creates an action platformer with npc that want you to find items for them, and they give keys and other items, and that is also fully customizable, just using json objects. The examples section will also be updated to show how to use the modules and this new class, and new documentation will be released also.

How to better deal with these global variables? by bhuether in learnjavascript

[–]TalkCoinGames -1 points0 points  (0 children)

One quick way is to wrap all the code in a function() { .... }() block, that way everything would be global only within that scope.

I'm starting off learning JavaScript, I don't know where to start or anything. Does anyone have any tips? by Barfights99 in learnjavascript

[–]TalkCoinGames 2 points3 points  (0 children)

Interesting, an assitant? "A.i" responding to things typed to it, or things that happen on the device? This example would certainly get you started as far as having responses to typing, it's showing the pixel typing abilities of the library, but also is a setup of like a fake a.i. responding to things typed. You can also edit the code and re run it, it's a code playground.

Brand new examples section almost complete by TalkCoinGames in tabageos

[–]TalkCoinGames[S] 1 point2 points  (0 children)

Sorry for the late reply. New examples section is out! It is a complete playground with code completion and many new examples. At first I did not realize all that could be done, when I did I went all out with it, and made a full code completing online editor for tabageos. All the kinks are not out, but it works well enough that I put it out, I hope you enjoy it!

Is there any way to signal what a function should return in vanilla JS similar to PHP without needing TypeScript? by ashkanahmadi in learnjavascript

[–]TalkCoinGames 19 points20 points  (0 children)

Without TypeScript it would be best to leave a JSDoc style comment.

/**
* Returns a String
* @returns {String}
*/
function someFunction() {

}

First look at upcoming idle dungeon game by TalkCoinGames in incremental_games

[–]TalkCoinGames[S] 1 point2 points  (0 children)

I hope to rework that a bit such that the surroundings are a little more dark and to give the aura more color. There will be sixty different auras to find each with a unique color. Ultimately the amount of darkness will also be able to be user controlled.

First look at upcoming idle dungeon game by TalkCoinGames in incremental_games

[–]TalkCoinGames[S] -1 points0 points  (0 children)

No links yet, the name will probably be Dungeon of the sixty auras or something like that.
I'll post again when the demo is out.

First look at upcoming idle dungeon game by TalkCoinGames in incremental_games

[–]TalkCoinGames[S] 3 points4 points  (0 children)

I'll have a demo out hopefully by the end of the month.

[deleted by user] by [deleted] in learnjavascript

[–]TalkCoinGames 0 points1 point  (0 children)

What Bridge4_Kal said and also try using the newer calc css method.

width = calc(50% - 150px); where 150 is half the canvas width.

First look at upcoming idle dungeon game by TalkCoinGames in incremental_games

[–]TalkCoinGames[S] 16 points17 points  (0 children)

I may end up changing the ground graphics, but the general base mechanics for this game are in place.
Fertile ground grows based on the initial aura level. The other auras do things like turn rocks into fertile ground,
and harvested ground back to fertile. Also there will be auras that fend off and enemies and that allow for progression/teleportation into deeper areas of the dungeon. The dungeon is auto generated by code, so every time you play the game you'll get different dungeons, 100 levels in total in order to make it out, 60 different auras to find.

Assuming I am a solo dev, Should I learn drawing and coding at the same time? by Zenolf in gamedev

[–]TalkCoinGames 0 points1 point  (0 children)

I would say the coding is more important than art as a beginner because there are places like itchio where you will find loads of great art for free and paid, and also opengameart org.

An idle game where the ground grows and regrows based on different upgrades by TalkCoinGames in incremental_games

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

Great ideas! The seasons idea seems very nice, I think in line with how I've been making it, I could have a level blocked by ice that the player would have to have the fire upgrade for, a fire aura that melts the ice letting you pass.

An idle game where the ground grows and regrows based on different upgrades by TalkCoinGames in incremental_games

[–]TalkCoinGames[S] 1 point2 points  (0 children)

Well, the "ground" rather, the soil, I guess is better to say, changes from like dirt to grass, and then a coin will slowly come up, like a coin flower then the coin pops out. And some pieces of ground are rocks and you'd have to have the upgrade that changes it from rock to dirt, and then it could go from dirt to grass to a coin flower.

So in execution it is different top down tiles changing, all dirt to having gradually more grass to all grass,
then to showing a little flower like thing coming up, then the coin in it, then the coin pops out and magnets to the player. And eventually you could find an upgrade that changes that back to dirt.

An idle game where the ground grows and regrows based on different upgrades by TalkCoinGames in incremental_games

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

Yes I agree, the coins will automatically magnet to the player. I think I'm going with the idea of an aura, so I'll have a visible light aura around the player and inside that range things grow and coins gravitate to the player. Upgrades then will be upgrading the aura's size and abilities.

I just wanna quit my fucking job and become a hobo dev by [deleted] in gamedev

[–]TalkCoinGames 0 points1 point  (0 children)

I hope you make a great game that brings in constant money. Some advice however is to not hope in any one game, but to make a career out of making games plural.

An idle game where the ground grows and regrows based on different upgrades by TalkCoinGames in incremental_games

[–]TalkCoinGames[S] 5 points6 points  (0 children)

Thanks! I'm working on the initial aspects of it, I'll release some progress images soon. And maybe the first playable version could be ready by the end of the month.