• What are you working on?
    5,004 replies, posted
[QUOTE=Lumaio;49835565]Why do you set your enums manually? isn't that automatic?[/QUOTE] It is, but sometimes I just prefer to set them
[QUOTE=KaPow!;49833563]Hey what are you doing to speed it up? is it WriteConsoleOutput or are you doing something else special?[/QUOTE] I only write stuff that is different from the last frame. I use c++ and it's just cout with some windows.h thing for moving the cursor around
I love the Visual Studio task list by the way [img]http://puu.sh/npAdy/881053bbaa.png[/img]
[QUOTE=Asgard;49835835]I love the Visual Studio task list by the way [img]http://puu.sh/npAdy/881053bbaa.png[/img][/QUOTE] I used to brush off Visual Studio but now I don't think I can use anything else.
[QUOTE=Asgard;49835551]Damn WinGDI interfering with my enums [code] #define OPAQUE_WINGDI OPAQUE #undef OPAQUE // WINGDI.h defines OPAQUE. Dicks. enum class TranslucencyType { OPAQUE = 0, TRANSLUCENT = 1, TRANSLUCENT_ADDITIVE = 2, TRANSLUCENT_SUBTRACTIVE = 3 }; #define OPAQUE OPAQUE_WINGDI [/code][/QUOTE] [URL="https://gcc.gnu.org/onlinedocs/gcc/Push_002fPop-Macro-Pragmas.html"]https://gcc.gnu.org/onlinedocs/gcc/Push_002fPop-Macro-Pragmas.html[/URL] pls
[QUOTE=Anven11;49835968][URL="https://gcc.gnu.org/onlinedocs/gcc/Push_002fPop-Macro-Pragmas.html"]https://gcc.gnu.org/onlinedocs/gcc/Push_002fPop-Macro-Pragmas.html[/URL] pls[/QUOTE] Thanks, I knew there had to be a better way. Still feels like a hack tho
Native image viewing now works! Sadly, I can't remove the image handling in the browser, so it looks like it show the image twice. If anyone has a way to remove the forum image handler, feel free to tell. [vid]https://my.mixtape.moe/qsaqvf.webm[/vid] Now I'm working on making a native in app youtube player, as seen in the reddit Sync app.
[QUOTE=tisseman890;49836593]Native image viewing now works! Sadly, I can't remove the image handling in the browser, so it looks like it show the image twice. If anyone has a way to remove the forum image handler, feel free to tell. [vid]https://my.mixtape.moe/qsaqvf.webm[/vid] Now I'm working on making a native in app youtube player, as seen in the reddit Sync app.[/QUOTE] Inject some JS that overrides the click event for images
[QUOTE=geel9;49836732]Inject some JS that overrides the click event for images[/QUOTE] Already tried some testing through tampermonkey, and I can't seem to remove the click event.
[QUOTE=Lumaio;49835565]Why do you set your enums manually? isn't that automatic?[/QUOTE] I think it helps with saving data. Say you used an enum that had the value 1 and that was an index to say a weapon's damage, you wouldn't want it so next time you're looking at index 2 for weapon damage when in fact it's at index 1 (after being restored). Not to say that it will happen, but that it could happen.
I don't understand how this saves data? It would have been evaluated to the same values with or without explicit numbering.
[QUOTE=WTF Nuke;49836834]I don't understand how this saves data? It would have been evaluated to the same values with or without explicit numbering.[/QUOTE] If you add an item in between the other items or at the start of the enum, the numbering changes if it's not explicit. Now maybe you'll say "of course I wouldn't do this", but the explicit numbering makes sure you [b]can't[/b].
[QUOTE=WTF Nuke;49836834]I don't understand how this saves data? It would have been evaluated to the same values with or without explicit numbering.[/QUOTE] Human error, such as not adding an enum at the end of the list. Although you could argue that human error could also be responsible for using an enum value already used.
[QUOTE=tisseman890;49836738]Already tried some testing through tampermonkey, and I can't seem to remove the click event.[/QUOTE] You could inject some CSS to make the popup display:none;
[QUOTE=Profanwolf;49836860]If you add an item in between the other items or at the start of the enum, the numbering changes if it's not explicit. Now maybe you'll say "of course I wouldn't do this", but the explicit numbering makes sure you [b]can't[/b].[/QUOTE] But if you add another element to the enum and recompile the program it doesn't matter unless you explicitly cast integers to enums. Edit: You should only worry about explicit enum values if you use serialization, that's what I'm saying.
Added tags to my entity system, all of it still done at compile time, which is nice. Now you can have a dummy struct like [cpp]struct playerTag{};[/cpp] and add that into the entity system, then whenever you need to get the player character only you just call manager.getEntities<playerTag>() and bam you have the character. No pesky inheritence, just good old PODs.
The ultimate tactics for any tower defense game: [t]https://dl.dropboxusercontent.com/u/99717/OpenGL/TowerDefenseTactics.jpg[/t] Also, [vid]https://dl.dropboxusercontent.com/u/99717/OpenGL/ClickTheTowers.webmvp8.webm[/vid]
damn, quickly approaching the point where my game is just a creative effort and no longer a technical one.
[QUOTE=General J;49839338]damn, quickly approaching the point where my game is just a creative effort and no longer a technical one.[/QUOTE] Also known as the graveyard of all my projects. :scream:
Writing a JS interpreter. I'm knee deep in the ecma262 spec and it's amazing. [t]https://i.imgur.com/I6303KL.png[/t] [t]https://i.imgur.com/2sR0R15.png[/t]
I'm looking around for a 2D engine with GUI support. Keeps getting me back to Unity, but i don't want to use it :/ Anyone has some good alternatives? Preferably C#
[QUOTE=Arxae;49839654]I'm looking around for a 2D engine with GUI support. Keeps getting me back to Unity, but i don't want to use it :/ Anyone has some good alternatives? Preferably C#[/QUOTE] [url=http://duality.adamslair.net/]Duality[/url]
[QUOTE=mojangsta;49839676][url=http://duality.adamslair.net/]Duality[/url][/QUOTE] Yeah i have been looking at Duality before. But i can't find anything about it having a GUI system. Only one outdated project came up. EDIT: 2 minutes later, i saw it included one in the plugin manager. Last time i checked Duality out, it only had the default packages in there :P But keep the alternatives comming :D
[vid]http://tatr.cf/uploads/2016-02-29_19-09-00.mp4[/vid]
[QUOTE=Map in a box;49840411][vid]http://tatr.cf/uploads/2016-02-29_19-09-00.mp4[/vid][/QUOTE] The music reminds me of earthbound. :godzing:
I took what I learned in Computer Organization and made an ALU in minecraft, but I don't think that really falls under the jurisdiction of this thread? [editline]29th February 2016[/editline] [QUOTE=Jelly;49839584]Writing a JS interpreter. I'm knee deep in the ecma262 spec and it's amazing. [t]https://i.imgur.com/I6303KL.png[/t] [t]https://i.imgur.com/2sR0R15.png[/t][/QUOTE] What language are you writing it in?
[media]https://www.youtube.com/watch?v=HJzVTzrz6pE[/media] haven't been showing off the game a lot lately, decided to finally come out of my shell. got a ton of new effects implemented (including this new WIP eye adaptation effect for Unity,) a whole new lobby GUI (took me too long to do this, and I'm still working on it,) some new items, that all important screen shake. So much has happened these past two months. For once, I actually feel like I can bring the game to some meetup and not feel like it's unfinished or broken. I don't want to get too sappy, but it means a lot considering I've been trying to bring myself to do that for the last 8-9 years. also watch in 60fps, it looks best then.
[QUOTE=proboardslol;49840801]What language are you writing it in?[/QUOTE] JavaScript compiled with my compiler [URL=http://babeljs.io/]Babel[/URL] and [URL=http://flowtype.org/]Flow[/URL] for type checking.
Taking a look at Duality as an alternative to Unity, has anyone here used it before? Thoughts on it? Just did a Hackathon this weekend where I used Unity for my project and I hated every second of it, not sure if it was because of the Hackathon or my lack of experience but it was very frustrating.
[QUOTE=geel9;49836936]You could inject some CSS to make the popup display:none;[/QUOTE] Couldn't use CSS either... The solution was to use a MutationObserver, and listen for DOM changes, and then delete the added div/img tag that is created upon clicking the image.
Sorry, you need to Log In to post a reply to this thread.