LSD - Little Sticky Destroyer [Crowdfunding started]

Show off your games, demos and other (playable) creations.
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: LSD - Little Sticky Destroyer

Post by qaisjp »

"allows for implementation of the map editor"
allows for implementation of the map editor... so you can implement it.. read below.
paranoiax wrote:
qaisjp wrote:I'm implementing dynamic map support
Looks, great. Do you allow me to use this in future versions?

EDIT: Saw the pull request, thanks a lot sir. (pretty new to github)
How am i supposed to use a level editor using your changes? (as you wrote so in your pull request)
You have to create your own one.
Then use write to a file like this:

Code: Select all

local code = "return {\n"
code = code .. "    boundaries = " .. mapEditor.map.boundaries
code = code .. "\n    player = { " .. table.concat(mapEditor.map.spawn, ", ") .. "}, \n"
code = code .. "    sensors = {"
for i,v in ipairs(mapEditor.map.sensors) do
    code = code .. "\n        {" .. table.concat(v.coordinates) .."},"
end
code = code .. "    },\n\n    walls = {"
for i,v in ipairs(mapEditor.map.walls) do
    code = code .. "\n        {" .. table.concat(v.coordinates) .. "},"
end
code = code .. "    }\n}"

mapUpdate(name, code)
so basically that would output to

Code: Select all

return {
    boundaries = 0,
    player = {0, 0},
    sensors = {
         {0,0,0,0},
         {1,2,3,4},
     },
     walls = {
          {0,0,0,0}
     }
}
:)

I can help you create a map editor, I am very much interested in this project.
As long as I get push permissions to the repository....

edit: after finishing the table thingy and writing this post, i feel so proud of myself (lol im a grammar nazi)
Lua is not an acronym.
User avatar
paranoiax
Prole
Posts: 40
Joined: Thu Aug 16, 2012 10:27 am

Re: LSD - Little Sticky Destroyer

Post by paranoiax »

qaisjp wrote:I can help you create a map editor, I am very much interested in this project.
As long as I get push permissions to the repository....
That would be great, I added you as a Collaborator. Dunno if that's enough (as is said - pretty new to github)
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: LSD - Little Sticky Destroyer

Post by qaisjp »

paranoiax wrote:
qaisjp wrote:I can help you create a map editor, I am very much interested in this project.
As long as I get push permissions to the repository....
That would be great, I added you as a Collaborator. Dunno if that's enough (as is said - pretty new to github)
Perfect! I have a few ideas too:
- new components:
lasers: red lasers go in a direction, can be rotated, hit it and you die.
- can be controlled via a button (read on for info about this)
- can be always on
- can toggle (on/off) periodic (every second, 5 seconds etc)

buttons: buttons are activated when you land on it from a jump OR walk on it

walking: press WASD or ARROW_KEYS will allow you to move the character on the block (see code below)
- the maps
maps should be MAP packs wise, see Mari0 (map packs, original levels then other levels etc..)





WALKING:
[spoiler]

Code: Select all

Okay say XXXXX is block and O is character
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
             O

If I press left, then the character goes like this:
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
             O
and then eventually this:
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
 O

now when on the edge:
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
O

pressing up will make you go here:
 XXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXX
OXXXXXXXXXXXXXXX

makes sense? :)
[/spoiler]

I'll start on the map editor now...
Lua is not an acronym.
User avatar
paranoiax
Prole
Posts: 40
Joined: Thu Aug 16, 2012 10:27 am

Re: LSD - Little Sticky Destroyer

Post by paranoiax »

Yeah i also thought about additional kind of obstacles like lasers or moving walls. Just was too lazy too implement this yet :cool:

On the movement part: That would probably change the whole gameplay. I'm not too sure about that. But we'll see.. ;)
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: LSD - Little Sticky Destroyer

Post by qaisjp »

paranoiax wrote:Yeah i also thought about additional kind of obstacles like lasers or moving walls. Just was too lazy too implement this yet :cool:

On the movement part: That would probably change the whole gameplay. I'm not too sure about that. But we'll see.. ;)
Okay, the moving thing I wasn't very sure about, I only thought of it because using buttons would require perfect landings.. this shouldn't be a problem as long as the buttons are large enough (although don't hardcode it to hard, so that people using map editors can do as much as possibleh :D )

EDIT:

https://github.com/paranoiax/LSD/blob/m ... ol-map.lua -- check out some level possibilites... give some!
Lua is not an acronym.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: LSD - Little Sticky Destroyer

Post by Robin »

Avatars... the same. So... annoying.
Help us help you: attach a .love.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: LSD - Little Sticky Destroyer

Post by josefnpat »

Nixolai also has the same one... wtf.
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
qaisjp
Party member
Posts: 490
Joined: Tue Sep 04, 2012 10:49 am
Location: United Kingdom
Contact:

Re: LSD - Little Sticky Destroyer

Post by qaisjp »

We should all have the same avatar... epicness at it's best.
Lua is not an acronym.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: LSD - Little Sticky Destroyer

Post by Nixola »

My avatar is slightly different than their, I won't ever use an avatar that didn't come out of Gimp ;)
(P.S: my nickname is Nixola, without the last i)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: LSD - Little Sticky Destroyer

Post by kikito »

I think this game is nice. I would add a parabole depicting the "next current jump", at least on an "easy mode".
When I write def I mean function.
Post Reply

Who is online

Users browsing this forum: No registered users and 180 guests