DARK WALKER VS TECHMAN

TechZ2124 - Adventure level - from Android
PlayEdit39 players liked this.Log in to like this level.

Just for fun.

The sprite of the boss is one of my 4 ROBOT'S OUTFITS.
The walker is based on my PCPA 9000 entry.

If you found a bug or need help, tell me.

Enjoy it !

Update 1 : Made it less laggy

Update 2 : Added a simple vehicle
Changed a bit the Boss
Made some small changes here and there

BE WARY ! IT IS LAGGY !

Views: 9336 Downloads: 3982 Unique objects: 54 Total objects: 681

Discuss this level

Log in to comment on this level.
  • incrazyboyy: you can make a new thumb using the new screenshot system!
  • keeghan: @TechZ: thanks!
  • TechZ2124: If you credit me*
  • TechZ2124: @keeghan: No problem of you credit me in the description
  • keeghan: @TechZ: is it ok I use your lua code for the outfit for my platform climber?
  • Demon666: @TechZ: that's. my I should read the description for things more often lmao
  • TechZ2124: @Demon666: Easy, use the cam marker object, in tools/effects.
  • Demon666: this might seem like a stupid question but how did you take two screen shots of your level? lol
  • RazeTech: Oh, it does, sorry. Do you know where some extra code could go in there so the laser will actually change angles with the LUA box. So if I spun the LUA box the laser would point
    in different angles?
  • TechZ2124: @RazeTech: You have to send a signal of 1 in IN0 of the LUA box
  • RazeTech: The code doesn't work.
  • TechZ2124: @RazeTech: Thanks :)
  • RazeTech: Thanks, awesome level.
  • TechZ2124: Oops sorry change the second line of code by this :
    if this:read(0) > 0.5 then
  • TechZ2124: px,py = this:get_position()
    if this:read(0) < 0.5 then
    this:draw_line(px,py,px+1000,py,2)
    this:set_draw_tint(1,0,0,1)
    this:write(0,1)
    end
  • RazeTech: How would you code a normal, red, straight laser that doesn't follow the robot.
  • TechZ2124: To activate laser send a signal bigger als 0.5 in In0 of the LUA Box, and it will output a signal of 1 at Out0.
  • TechZ2124: Ok here it is :

    px,py = this:get_position()
    bot = world:get_entity_by_id(-1)
    xx,yy = bot:get_position()
    if this:read(0) > 0.5 then
    this:draw_line(px,py,xx,yy,2)
    this:set_draw_tint(1,0,0,1)
    this:write(0,1)
    end
  • RazeTech: Could you tell me how to emit a continuous signal that starts when the bot gets lasered and stops when the laser stops.
  • TechZ2124: @RazeTech: Sorry, it is actually impossible to kill the player with LUA now, but if you want I can show you how to create a laser that target the adventure bot and follow him
  • RazeTech: Could you tell me how to write a script to instantly kill th player after the laser shining on them for ten seconds?
  • TechZ2124: @RazeTech: LUA Script ==> this:draw_line()
  • RazeTech: How do you get the laser
  • ricardito08: Thx. Try making it like the one from the boss.
  • TechZ2124: @ricardito08: Ok, no problem I'm going to make a simple tutorial for you ;)
  • ricardito08: Hey TechZ can you teach me how to do the health bar from the lua script? I want to do that too.
  • keeghan: @TechZ: I know, because you're the best principia builder in the world.
  • TechZ2124: @keeghan: Ok, no problem but the electronics are very ugly and extremly hard to understand, sorry.
  • keeghan: @TechZ: can I edit this level please.
  • TechZ2124: @Demon666: Well, if you want have a look to my 4 Robot's outfits and edit the Lua Script.
  • Demon666: @TechZ: tracking the object isnt what i was talking about thats the easy part... what I want to know is how to make large detailed sprites.... since I'm a digital artist I would be able to make very good looking sprites as well as sprites that move like a gif.... but i just have no idea how to do that in this game lol.... would be nice if there was some way to import your own images into this game....
  • TechZ2124: @Demon666: You can, just get the position of the 2 objects and then write this :
    If x-xx <2 and x-xx> -2 and y-yy < 2 and y-yy > -2 then
    Whatever you want
    end
    x, y is the position of the first object and xx, yy is the position of the second one. You can put another number instead of 2.
  • Golden: @golden: sorry, android keyboard troll me
  • Golden: Can, i mean cant
  • Golden: @Demon666: im not sure if i can create that code but ask jammer312 or sdac or pajlada
    To make solid object like object can get through sprite
  • Demon666: another question I have. can you make a lua sprite register a collision with another object?
  • Demon666: @golden: i am more horrible at lua then you can imagine lol. I always find myself doing something wrong. what's funny is that it's not even my first programing language it would be like the 6th language I've learned lol.
  • Golden: This:set_sprite_tint(red,green,blue,density)
    This:draw_sprite(xaxis,yaxis,angle,xsize,ysize,0,0,127,127)
  • Golden: @Demon666: i can show you how
  • Demon666: I really need to figure out how to make those sprites lol.... the possibilities....
  • Anarkuz: Beautifully, has a great boss battle feel to it and that spriting is awesome
  • Leis: Congratulations tech!! Another trophy added into your library: D
  • Mathfreak: I can't play (I have lite version) but it looks cool
  • Mathfreak: Wow
  • kronik129: Good job. Its not lagging on my sgs4
  • TechZ2124: Thanks all, i remove some useless things and add auto absorbers to absorb the electronics when they are used. But still laggy :/
  • testapple: Wow!
  • zardOz2: mega build tz, it's very hard to play it though as mz said. Might have to make some difficult cuts like the green jump highlight.
  • mznznlt: Way too lagy on my tablet....... maybe add an option in the start to disable the sprrites? Awesome level :)
  • RasmusOlle: Let us others get some gold or runner-ups!
  • TechZ2124: Please LIKE and COMMENT !

LEVEL ID: 3166