TackerTacker's Forum Posts

    Awesome news, Thanks Ashley

  • Lunarovich It's awesome to hear that you're back developing this plugin, because i love it !

    I have a couple of questions and suggestions about rot.js and the c2 plugin

    • License
    • More wall infos
    • More floor infos
    • Nested level generation
    • Corridors wider then 1 tile
    • Corridors start/end point
    • Is corridor a dead-end
    • Corridor list (like rooms) for each corridor
    • Zones/sections
    • Is a circle FOV possible
    • Some more rot.js features

    1.

    Do you know what I need to take care of in terms of the rot.js license?

    Do I just have to credit it somewhere or do I have to do something else if I want to use it in a commercial project?

    2. + 3.

    The problem with level generation in c2 is that with events big loops or nested loops are slow compared to loops directly executed in js,

    therefore would it be great to produce more information directly in js and output it to the c2 plugin.

    for example:

    v This would help v
    *********************
    *########***########*
    *#......#***#......#*
    *#......#####......#*
    *#......D...D......#*
    *#......#####......#*
    *#......#***#......#*
    *########***########*
    *********************
    *=filled #=wall .=floor D=door
    v This would be better v
    *********************
    *########***########*
    *#......#***#......#*
    *#......#####......#*
    *#......D,,,D......#*
    *#......#####......#*
    *#......#***#......#*
    *########***########*
    *********************
    *=filled #=wall .=floor D=door ,=CORRIDOR
    
    v This would be almost perfect v
    *********************
    *#TTTTTT#***#TTTTTT#*
    *L......R***L......R*
    *L......#TTT#......R*
    *L......D,,,D......R*
    *L......#BBB#......R*
    *L......R***L......R*
    *#BBBBBB#***#BBBBBB#*
    *********************
    *=filled .=floor D=door ,=corridor 
    #=CORNER T=TOP-WALL B=BOTTOM-WALL L=LEFT-WALL R=RIGHT-WALL
    [/code:2kw35ik9]
    But the best would be a [url=http://www.saltgames.com/2010/a-bitwise-method-for-applying-tilemaps/]bitwise method[/url] to get a [url=http://www.cr31.co.uk/stagecast/wang/blob.html]"blob tileset"[/url] output 
    
    4.
    It would be great if nested level generation was possible. 
    e.g. In the 1st run you create a couple of big rooms and in the 2nd run you fill these rooms with different level generation ( maze, cellular automata ...)
    
    5.
    Is it possible to create corridors that are wider then 1 tile with rot.js
    
    6. + 7.
    To know where a corridor starts and ends and if it is connected to a room or a dead-end is a good way to bring interresting gameplay to a dungeon crawler or roguelike, you can place loot in dead-ends so the player didn't walk the whole way for nothing and you can place traps or monsters on the start or end of a corridor.
    
    8.
    A corridor list (like the room list) would help shorten the event loop count
    
    9.
    With zones/sections I mean closed of parts of the level creation, 
    for example two "lumps" of rooms and they are only connected to each other with one door. In the first "lump" you could hide a key to the next section.
    There is a Template in the scirra store that does the same thing but its made with events and thus is not that fast but it shows good what I mean [img="https://static3.scirra.net/images/newstore/products/1500/download%20%282%29.png"]
    
    10.
    Is a circular FOV possible with rot.js ?
    
    11.
    Do you plan on adding some more of the rot.js functionality. 
    What I particular have in mind is: 
    [url=http://ondras.github.io/rot.js/manual/#lighting]Global lighting[/url] 
    [url=http://ondras.github.io/rot.js/manual/#noise]Noise generation[/url] 
    [url=http://ondras.github.io/rot.js/manual/#rng]some of the RNG stuff, especially "Picking a weighted value"[/url]
    
    Omg what a post   
    I know this is a huge list and I hope you dont get me wrong, the plugin right now is very usefull as it is and i love it !
    Nevertheless or better especially because I like it so mutch would I greatly appreciate if you could get as mutch features from this list added to the plugin as possible, 
    because each of them would make the plugin this mutch more usefull.
    
    Thanks for taking the time to read this and if something is unclear (english isn't my native language, if you couldn't tell  ) or you need someone to test , feel free to pm me directly or just submit an answer here, I'm follow this topic anyway.
  • nimos100 You are right. Did a test and it didn't work.

    The only thing that worked is what Turing was mentioning befor with the different cell or border sizes.

  • Wouldn't it be possible to have one obstacle map with different values like this

    The ship has value 1 as obstacle and the tank value 2 and 3

    1=land

    2=water

    3=building

    Or isn't that already possible if you use path cost ?

    ship path cost for land = positive infinity

    tank path coast for water and building = positive infinity

    but i dont know if that would be efficient or not

  • The one jump where you "glitch" through the whole stack of tiles you are very close to the left edge of the stack, I think you landet on the blocks to the left and jumped again.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi ThePhotons, if i start the default pool example with NW.js formerly known as node.js this is the error message i get.

    http://i.imgur.com/xmExDwP.png

    I hope that helps fixing the issue.

    • Edit -

    I figured i add a link to the edited project as well for convenient further testing

    NW.js_poolDemo.capx link

  • I can confirm... it's a great Stream with great people.

    If you haven't already I definitely recomend you come by and say Hi.

    Btw just so people know who i am. On Twitch im TackerTacker

  • Lunarovich are you still actively working on this plugin, or did you abandon it ?

  • Hi

    Either I don't understand how the priority of buffs work or they are broken.

    NR1 Expected result when priority is bigger or equal 0 :

    • 1st time Button A is released ===> (sum = previous result of sum+buff) ===> 11(sum) = 10(previous sum) +1(buff "HP UP")
    • 2nd time Button A is released ===> (sum = previous result of sum+buff) ===> 12(sum) = 11(previous sum) +1(buff "HP UP")

    11,12,13,14,15,16... and so on

    NR2 Expected result when priority is less then 0 :

    • 1st time Button A is released ===> (sum = base+buff) ===> 11(sum) = 10(base) +1(buff "HP UP")
    • 2nd time Button A is released ===> (sum = base+buff) ===> 11(sum) = 11(base) +1(buff "HP UP")

    11,11,11,11,... and so on

    But in both cases I get the result of NR2

    Is the Behavior broken or do I expect the wrong results ?

    Thanks in advance

  • Hi bilgekaan

    I had a look at your great demo and found 3 bugs.

    All have to do with ladder and charakter animation, they are easy to reproduce so it shouldn't be to hard to fix them.

    All bugs are found in this particular demo in the first level http://td2tl.com/scirra-store/super-platformer-engine-v1-1/

    (I don't own the template so I don't know if this bugs are still in it or not)

    1. Go up the ladder while holding down the left button. The charakter doesn't face the direction he's moving. The same is true if you jump down the ladder while holding left.

    2. If you start all the way on top of the ladder and climb all the way down (not jumping off) you'll be unable to move left or right for a certain time.

    3. If you shoot an arrow while you are on the ladder than press up to grab the ladder again before the charakter touches the ground you'll be stuck in the ladder climbing animation till you shoot another arrow.

    I hope it helped and that it is a easy fix.

  • The group "for testing" is only for getting the keycodes, it doesnt bind keys to anything, it just sets the variable "keycodeCheck"

    1. Press a button or key ingame to get the corresponding keycode of it. You can see the keycode when you watch the variable "keycodeCheck" in the Debugger.

    2. Once you know the keycodes you can create variables for all your controls (Jump/Attack/Dash) and assign default values to them (the keycodes of the keys/buttons you got in step 1.) This will be the standard Keybindings the game starts with.

    3a. (this is the easy way) All you have to do from here is building a menu where the player can either press a button/key to assign a key to an action (jump)

    3b. or he can choose from a list of available buttons/keys.

    In this case you would need a list of all keys/buttons and there corresponding keycode, maybe saved in an .xml file.

    4a. when the player pressed the button/key you can get the keycode with the expression "Keyboard.LastKeyCode" for keyboard or "Gampad.LastButton(gamepadIndex)" for gamepad. Set the variable for the action (jump) to the keycode

    4b. Like above but instead of pressing a button the player would choose a button/key from a list.

    example jump button/key.

    you want the standard jump key to be spacebar on keyboard and A on gamepad.

    Use the "for testing" group stuff to get your corresponding keycodes. (spacebar= 32 A=0 ...i think )

    create variable "keyJump" and set it to "32"

    create variable "padJump" and set it to "0"

    Give the player a way to choose the own button/key 4a or 4b

    set the variable "keyJump" or "padJump" to the new value "n"

    I hope it helps.

    I would highly suggest to pick the "a" route, where the player has to push a key to assign it. It's mutch easyer to implement and more convenient for the player.

    But maybe i still totally misunderstood what you want

  • I think this is pretty self-explanatory.

    If you have trouble with it nonetheless, just holler at me

  • ArcadEd Haha ... Yes you did

  • Tokinsom you referred the editor "Tiled" before.

    Couldn't you just use Tiled to layout your levels and load it into c2 via json?

  • The tilemap plugin could use alot more functionality.

    • save additional data per tile
    • pop and push, like arrays. Maybe reverse and sort too?
    • a for each tile loop and a for area loop (start at x,y for width,height) <-- would be usefull for arrays too

    (I know you can do all of this with functions and array combos but especially in case of handling big data like arrays of tiles/data it is good to have efficient low level implementations )

    But i dont see that happen as long as Ashley doesn't get some more help with development. I don't know how he managed to develop c2 on it's own in the first place, but now that he develops c3 and has to take care of c2 on the side