Search found 22 matches

by nickelodeon0077
Thu Sep 02, 2021 6:20 am
Forum: Libraries and Tools
Topic: TypeScript + LÖVE 2D
Replies: 3
Views: 11394

Re: TypeScript + LÖVE 2D

I liked it very much! i was learning about typescript, but i don't found any game engine that pleased me, and so i used it in this game: https://github.com/Cicolas/BREAKTHELINE https://cicolas.itch.io/breaktheline I have a issue about dual arrays, but i think it's because my typescripts knowledgment...
by nickelodeon0077
Wed Dec 16, 2020 7:30 am
Forum: Games and Creations
Topic: Procedural Golf *PLAY IN BROWSER*
Replies: 0
Views: 5733

Procedural Golf *PLAY IN BROWSER*

A procedural golf game, top down view https://media.discordapp.net/attachments/435540347247001604/788668188003008542/unknown.png https://media.discordapp.net/attachments/435540347247001604/788668440754782249/unknown.png i've relesead it in itch.io, there you can play in the browser, without need of ...
by nickelodeon0077
Fri Mar 08, 2019 11:41 pm
Forum: Support and Development
Topic: Problem to make an Orbit (circle with sin(x) and cos(x)) [SOLVED]
Replies: 5
Views: 5748

Re: Problem to make an Orbit (circle with sin(x) and cos(x))

ingsoc451 wrote: Fri Mar 08, 2019 3:38 am Ignore it, it is a copy-paste error (I was searching through some github projects at the time)
I used the equation from the following page to calculate speed
https://en.wikipedia.org/wiki/Elliptic_orbit
i'm imagineted ;)
by nickelodeon0077
Fri Mar 08, 2019 1:46 am
Forum: Support and Development
Topic: Problem to make an Orbit (circle with sin(x) and cos(x)) [SOLVED]
Replies: 5
Views: 5748

Re: Proble to make an Orbit (circle with sin(x) and cos(x))

formula is (x_0, y_0) + (R1 * sin(t), R2 *cos(t)) for t= 0 to 2* PI and R1 = R2 for circle it seems like you are updating your initial points in the function foo, you probably meant "x = point.x + sin(a)" ? edit: I tried something random... rather than fixing it man thnks with your code i...
by nickelodeon0077
Thu Mar 07, 2019 1:41 am
Forum: Support and Development
Topic: Problem to make an Orbit (circle with sin(x) and cos(x)) [SOLVED]
Replies: 5
Views: 5748

Problem to make an Orbit (circle with sin(x) and cos(x)) [SOLVED]

i have an problem with the algorythm of make an circle with sin and cos
when i call this algorythm i have an spiral and not a circle
pls help

an example

Code: Select all

x = 100
y = 50
point = {x = 50, y = 50}

function foo()
	a = math.atan2(y-point.y, x-point.x)
	x = x + sin(a)
	y = y + cos(a)
end
:cry:
by nickelodeon0077
Thu Feb 28, 2019 11:52 pm
Forum: Games and Creations
Topic: snake12
Replies: 6
Views: 11432

Re: snake12

Xugro wrote: Wed Feb 27, 2019 7:10 pm I got to level 99! :D

After level 30 or so too many points are spawning and just sitting in the middle and moving around a bit lets you finish the levels.

But it is a very interesting idea and a neat implementation. :)
;), i'll tell a glitch!!
if you still in the center you dont die!!!
by nickelodeon0077
Sun Feb 17, 2019 6:00 pm
Forum: Games and Creations
Topic: snake12
Replies: 6
Views: 11432

Re: snake12

Nice, fun, simple game. Novel idea, good execution, I like it. I could only get 4 points, though. Also, you might want to consider adding a .love download for Linux and Mac users. EDIT: New top score is 8 thank you!!! i considered upload the .love here ;) good luck -my best without code changes : 7
by nickelodeon0077
Sat Feb 16, 2019 5:16 pm
Forum: Games and Creations
Topic: snake12
Replies: 6
Views: 11432

snake12

to get it:
https://nickelodeon0077.itch.io/snake12

a single BattleRoyale snake game
Image
Image

*the source is a little bit confused
by nickelodeon0077
Mon Feb 11, 2019 11:09 pm
Forum: Libraries and Tools
Topic: PixelFX Desinger *NEW VERSION*
Replies: 7
Views: 9609

Re: PixelFX Desinger *NEW VERSION*

It is so humbleness of you. But one more thing is that os.execute not able to get archive files. You have to put dontRemove folder inside effects folder in rar file you published. I take look at LOVE.zip. by the way I am thinking about how i gonna use it for love game jam submission. i'll take a lo...
by nickelodeon0077
Mon Feb 11, 2019 10:47 pm
Forum: Libraries and Tools
Topic: A little library for convert colors
Replies: 5
Views: 7665

Re: A little library for convert colors

It's a good try, but forum veteran Grump already beat you to it. You may want to look at his library for inspiration. Briefly going over the code, the "hex" function is not very good. There are more efficient ways to convert a hex value into RGB. For example, you can use tonumber specific...