Search found 55 matches

by NotARaptor
Mon Apr 08, 2019 8:07 am
Forum: Support and Development
Topic: Iso drawing help
Replies: 8
Views: 453

Re: Iso drawing help

You can find a veritable hoard of relevant information here : http://www-cs-students.stanford.edu/~am ... html#tiles
by NotARaptor
Mon Feb 25, 2019 12:15 pm
Forum: Support and Development
Topic: Any way to make the window transparent?
Replies: 6
Views: 2170

Re: Any way to make the window transparent?

I can't test right now, but I have used a lot of win32 apis in the past (in C/C++) including these ones. I think that firstly you need to call SetWindowLong (or is it SetWindowLongPtr now? it's been a while!) to add the WS_EX_LAYERED extended style to the window, THEN call SetLayeredWindowAttributes...
by NotARaptor
Mon Feb 25, 2019 11:40 am
Forum: Games and Creations
Topic: Animated Grass
Replies: 1
Views: 2633

Re: Animated Grass

Hi Souxdentine - this board is to 'Show off your games, demos and other (playable) creations' - it seems your question would be better suited to the 'Support and Development' board. Also it's a bit light on detail; some screenshots or mockups of what you want to achieve would probably get a lot more...
by NotARaptor
Fri Feb 22, 2019 3:07 pm
Forum: Libraries and Tools
Topic: [Library] anim8 - An animation library - v2.3.0 released
Replies: 84
Views: 47596

Re: [Library] anim8 - An animation library - v2.3.0 released

@grump, totally see your point, and so long as kikito doesn't mind his thread being hijacked, it makes for a great discussion. As with everything in development, there is rarely a one-size-fits-all solution that is optimal for every project, team and workflow. You can of course add this on top of an...
by NotARaptor
Fri Feb 22, 2019 11:59 am
Forum: Libraries and Tools
Topic: [Library] anim8 - An animation library - v2.3.0 released
Replies: 84
Views: 47596

Re: [Library] anim8 - An animation library - v2.3.0 released

I just want to chip in here and say that I really like your stance on the flow of information in the animation library here, even if it seems to be unpopular with (or just strange to) some users. I totally agree - business logic should dictate animation logic, and not the other way around. After all...
by NotARaptor
Fri Jan 25, 2019 1:56 pm
Forum: Support and Development
Topic: Help for create bullet of tank
Replies: 5
Views: 1678

Re: Help for create bullet of tank

I figured this would be your next question! Your issue is that you're trying to treat the variable "obus" both as an array of objects, and as a single object at the same time - which obviously doesn't work. Of course, the noun "obus" in French is both singular and plural, so that doesn't really help...
by NotARaptor
Wed Jan 23, 2019 10:28 am
Forum: Support and Development
Topic: Help for create bullet of tank
Replies: 5
Views: 1678

Re: Help for create bullet of tank

You need to work out your logic better; it's a bit confusing. The lifecycle of the projectile (obus) should be: - Does not exist / is inactive - obus.lance is false - do nothing - Is being fired right now : set x and y coordinates, set dx and dy, set obus.lance to true - Is being fired : obus.lance ...
by NotARaptor
Tue Jan 22, 2019 10:37 am
Forum: Support and Development
Topic: Help for create bullet of tank
Replies: 5
Views: 1678

Re: Help for create bullet of tank

Salut, bienvenu aux forurms. Le problème ici est que l'obus ne garde pas en mémoire sa direction/vélocité, il le recalcule à chaque `update`, donc il suit la tourelle. La solution c'est d'ajouter les membes `dx` et `dy` à l'objet obus, et de les garder au moment du tir. De plus, il me semble que l'a...
by NotARaptor
Fri Jan 11, 2019 12:05 pm
Forum: Support and Development
Topic: [Solved]i want to make the enemy kill the player but it keeps giving me the error(read below)
Replies: 4
Views: 558

Re: [Solved]i want to make the enemy kill the player but it keeps giving me the error(read below)

I'd probably add a "break" after the player_die() call - if two or more enemies touch the player in the same frame, game_load() will be called that many times, and you probably don't want that.
by NotARaptor
Tue Oct 16, 2018 12:51 pm
Forum: Support and Development
Topic: Word Processor
Replies: 8
Views: 1417

Re: Word Processor

Hi Tuxion - the linked page explains what it is and why it is used, and has a link to the library itself.