Search found 626 matches
- Thu Aug 19, 2021 4:20 am
- Forum: Libraries and Tools
- Topic: Simple Löve/Lua highlight parser
- Replies: 1
- Views: 5316
Simple Löve/Lua highlight parser
Something i had laying around and was about to replace: A simple lua parser compatible with Löves print function. parse.zip Maybe someone can find a use for it. Features : -compatible with most of luajit syntax (only unique comment blocks may fail) -Brackets/blocks are checked for closing -colors ar...
- Thu Aug 19, 2021 1:00 am
- Forum: Games and Creations
- Topic: Dust: Battle Beneath
- Replies: 17
- Views: 20364
Re: Dust: Battle Beneath
Okey tried a few more times: Sometimes the bot cornered and killed me other times it was plain dumb and stood around while i shot it. I like the concept of building turrents, gives a nice tactical element and makes the game playable for people who cant aim. What you absolutely must do: Adding the so...
- Thu Aug 19, 2021 12:09 am
- Forum: Games and Creations
- Topic: Dust: Battle Beneath
- Replies: 17
- Views: 20364
Re: Dust: Battle Beneath
Wow, really :awesome: Yea, really. This _action worms_ genre has quite a few entries and yours is in comparison pretty neat. Just dont fall into the trap that the other suffer from: Too much buttons and too much features so that no one knows how to play in the end. eg hedgewars has a grappling hook...
- Wed Aug 18, 2021 8:39 pm
- Forum: Games and Creations
- Topic: Dust: Battle Beneath
- Replies: 17
- Views: 20364
Re: Dust: Battle Beneath
Very nice gameplay. But srsly, the control mapping needs a _normal_ menu and not some hard to follow tutorial text that i failed to get correct 3 times now. Also having a button for shooting eg "bottom left" is not intuitive, i was expecting that is what you automatically shoot to if you a...
- Wed Aug 18, 2021 3:56 pm
- Forum: Games and Creations
- Topic: A 1D shooter
- Replies: 7
- Views: 15093
Re: A 1D shooter
Heh, i thought finding out how it works is the fun part of it so i did not give proper instructions. The mechanism actually is: the 3 shooting buttons, R;G;B, charge up the percentage of what to shoot of your current ammo. Your ammo is literally the rgb value of the _gun_ multiplied by 10 and the en...
- Wed Aug 18, 2021 3:28 pm
- Forum: Support and Development
- Topic: [SOLVED] Weird graphical bug with canvas
- Replies: 4
- Views: 6103
Re: Weird graphical bug with canvas
I can neither reproduce the gradient but i can confirm it renders different here too.
My guess is: youre not reverting the last color change in line 22. Youre effectively adding color tint to the canvas. That may be broken at your driver.
My guess is: youre not reverting the last color change in line 22. Youre effectively adding color tint to the canvas. That may be broken at your driver.
- Tue Aug 10, 2021 8:24 pm
- Forum: Support and Development
- Topic: Implementing save data
- Replies: 32
- Views: 22187
Re: Implementing save data
Depends on what your data looks like. If its just some numbers and flags then: handle= io.open("save" , "w") handle:write(string.char(health)..string.char(level)..tostring(option and 1 or 0)) will store a health state and level up to a value of 255 and the later will either write...
- Mon Aug 09, 2021 4:27 pm
- Forum: Support and Development
- Topic: Boolean function for intersection between circular segment and circle
- Replies: 32
- Views: 37307
Re: Boolean function for intersection between circular segment and circle
Thats actually quite hypnotic.
But whats the logic behind the explosion getting scaled with the target? Ammo savings?
This would look super cool if the balls would get pushed by a hit.
But whats the logic behind the explosion getting scaled with the target? Ammo savings?
This would look super cool if the balls would get pushed by a hit.
- Sun Aug 08, 2021 10:34 pm
- Forum: Support and Development
- Topic: Boolean function for intersection between circular segment and circle
- Replies: 32
- Views: 37307
Re: Boolean function for intersection between circular segment and circle
Nice speech but meanwhile OPs head exploded. Thing is, your interpretation of the problem does not seem to be practical in regards to making a game. Like, would anyone notice that blue area in a fast moving shooter? Of course i have no idea what op actually wanted, but if we assume the sector is the...
- Sat Aug 07, 2021 8:32 pm
- Forum: Support and Development
- Topic: Boolean function for intersection between circular segment and circle
- Replies: 32
- Views: 37307
Re: Boolean function for intersection between circular segment and circle
Is this a contest now? Controls: Mousewheel+lctrl X,Y=love.graphics.getDimensions() B={x=X/2,y=Y/2,r=X/100} A={x=X/2,y=Y/2,r=X/5,s1=1,s2=2} function Points() A.x1=math.cos(A.s1)*A.r+A.x A.y1=math.sin(A.s1)*A.r+A.y A.x2=math.cos(A.s2)*A.r+A.x A.y2=math.sin(A.s2)*A.r+A.y A.m1=(A.y-A.y1)/(A.x-A.x1) A.m...