topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • January 21, 2018, 06:29 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - p3lb0x [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 16next
1
General Software Discussion / Re: Fruits of my gamejam labour
« on: October 17, 2017, 01:40 PM »
Ah, right. Should probably have mentioned the inability to actually quit the game.

2
General Software Discussion / Fruits of my gamejam labour
« on: October 17, 2017, 12:58 AM »
At the behest of Mouser I am gonna post the results of a small local gamejam I joined by the Organization Coding Pirates here in Denmark.

Coding Pirates are a volunteer organization that does community work with kids and young adults to get them interested in technology, programming and mixing these with more artistic endeavors (Like game making or visual arts). I hadn't actually heard of them before, but I saw the event through facebook and decided to join in.

The theme of the gamejam was mirrored from what they had helped the kids in their program work on for the last half year, but we were only afforded 12 hours (actually only 11 hours since the last hour was for a presentation). That theme being "feelings", completely open to interpretation.

The group I was in decided on "The feeling of confusion" as our interpretation, resulting in a maze game that tried to confuse the player through the use of rotating the playing field and teleporters. The game was made in Unity, something I've been dabbling in recently and hopefully can produce a small game in for my NANY. Lots of corners were cut, due to a mixture of us not being the most proficient at Unity, the other programmer in the group never having written any C# and time constraints. We did however produce a fully functional game with well defined gameplay elements and no bugs (as far as I know anyway).

bacon.png

The goal of Squared? (Stylized as "?²") we made is to find 4 keys and reach the treasure behind the locked door.

1.jpg

Gameplay is really simple, you walk around the maze with limited vision, only being able to see neighboring rooms. Compass rooms reorient the gameworld and teleporters move you to another place in the maze, there's also glyph rooms that help you create a mental map (that the rotations hopefully messes with).

We ended up being tied for last place however, because the game wasn't eye catching compared to the other games (that you can also download here)

3
Scary turn of events. I wonder what's behind the W3C bowing to the corporate overlords in such a way.

4
Community Giveaways / Re: Shadow of Mordor and Neon Chrome
« on: September 20, 2017, 10:20 PM »
Lanux dropped me a pm, scant 40 minutes earlier. I am sorry

5
Living Room / Re: good Videos [short films] here :)
« on: September 20, 2017, 10:17 PM »

Scifi short about VR with a premise seen before. Still has nice visuals and a pretty good sound direction

6
Community Giveaways / Shadow of Mordor and Neon Chrome
« on: September 20, 2017, 05:40 PM »
I have a spare copy of these two games from a recent Humble Bundle, anyone want them?
Middle-earth: Shadow of Mordor Game of the Year Edition
Neon Chrome


7
Living Room / Re: Jumpy: Animated videogame short
« on: September 14, 2017, 05:16 AM »
Did the character "succeed" though? To be it looks more like the character got sent back to beginning opening up the interpretation that you shouldn't disregard others help because of your own stubbornness

8
N.A.N.Y. 2018 / NANY 2018 Pledge: Some kind of unity game
« on: September 10, 2017, 09:44 AM »
I have been messing around in unity and I think I can churn out a small game. Which I am gonna do!

9
Would be possible, but I am not sure what reddit/quoras policies are with regards to scraping.

10
Living Room / Re: good Videos [short films] here :)
« on: August 23, 2017, 11:07 AM »


I laughed (political commentary)

11
Added Naudio to the project, should hopefully be able to play mp3 files now.

edit: Also stops sounds when you press the stop button

edit edit: Also just noticed that that killed the single shot playback. Hurh durh, give me a second

edit edit edit: Should be fixed now

edit edit edit edit: Added a small icon as well

12
The only issue I've had so far is that the program only utilizes .wav files, which meant I couldn't use the audio file I had originally planned on using.  This was no problem though as I just had to select a different audio file.

I'll look at using NAudio to allow playback of files other than wave at some point in the foreseeable future.

13
Good to know! I have been wondering though, what is it used for? I am guessing either idle games or some sort of error notification.

Also any usability upgrades you can think of while you have been using it?

14
Living Room / Re: Interesting "stuff"
« on: August 08, 2017, 06:17 AM »
Maybe? Anyone care to try it?

15
Living Room / Re: Interesting "stuff"
« on: August 07, 2017, 08:58 PM »
I am gonna have to guess vodka wouldn't work. You'd need something that can burn by itself, 40% alcohol doesn't ignite unless heated up.

16
Do tell if any glaring bugs occur. I'll probably fix it if it isn't too time consuming. Feel free to drop a few bucks to DC or me using the donationcredits system if you feel like it (Though don't feel compelled or forced).

17
Developer's Corner / Re: Your First Programming Language vs Now
« on: July 17, 2017, 10:33 AM »
What was your first programming language?
I think the first programming language I really did anything in was Lua for creating mods for the game Cortex Command.
Amounting to:

Eventually moved on to PHP for programming class in high school (and hating it immensely) and Assembly for the electronics class (though I used C for the final project)
This translated well into Assembly, then C, then C++ and C# at university.

Can you remember a snippet from that language?
Not really, I do dabble every now and then in Lua for various reasons (WoW interface mods being the latest IIRC)

What's your current language of choice?
I've become really partial to C# because of the convenience of having most common things handled for you through the .NET framework. And the syntax is pleasing to me. C++ is my bae, though.

How would you rewrite that snippet in your current language?
If I had to rewrite something similar to the Brolands mod in C# I would definitely take advantage of the OOP paradigm.
Here is the single file I had for pretty much all code used. Note uneven indentation, barely any refactoring of code blocks to functions and pointer being used instead of reference as Lua has no pointers.

18
DC Gamer Club / Re: Factorio - Automate All the Things!
« on: July 15, 2017, 04:05 PM »
One extra small thing to shove into Factorios already large pot of praise. I bought the game and sent the developers a small encouragement email and apology for pirating the game earlier (The Demo wasn't a good showcase of the late game in my opinion, and from what I heard). They responded humbly and thanked me for the praise. Definitely seem like nice and listening people.

19
It's very rough, just as soon as I figure out how to actually package it, I'll put it up. Sourcecode as well (probably gonna do a bit of clean up first).

Here you go, binary is in the root of the rar and source code is in the directory. It IS made using C# and .NET v4.5.2. So you'll need to get the redistributable from Microsoft if you don't have it already. In case you're running Linux it would have to be ported to mono or something, and I don't have that installed at the moment (and I am using WPF, so UI would have to be redone).

Instructions:
Select a sound
Select a color (no color picker, wasn't as trivial to do as the other stuff)
Select retrigger delay (How long it will wait before triggering again, set it to 0 for only triggering once)
Select a rectangle to "look" in (Might be a bit fidgetry, I think I accidentally set the "drag" area on the border of the rectangle, which can be a bit hard to hit).
Then hit start.

Notes:
The retrigger delay is not timed perfectly, don't expect it to be.
I am not sure what bugs there are if any, if there are any they shouldn't be bad for your PC.
Only wave sound files can be played. I just used what was built into .NET, I saw that I might have been able to use some Windows Media Player dependent calls, but I didn't.

Improvements:
Most of the things you mentioned like multiple regions, different colors, sounds, etc
Better UI
Fix the dragging of the selection window (maybe add a cancel as well? At the moment you can only accept new areas if you accidentally hit the selection for it)
Tasks are probably being used inappropriately, as I haven't done any desktop application GUI work in ages and probably forgot a lot of things.
Change the sound player to something that can accept more sound types.
Maybe add tolerance for colors?

Put it through VirusTotal: https://www.virustot...analysis/1500138024/
Seems I am getting a false positive for git. And maybe because I am doing some pointer manipulation.

20


I have made this, is this about what you wanted in its simplest form?

edit: At the moment it can only play wave files, but that can pretty easily be changed, multiple files or checks isn't possible with how I set it up and the program would have to be done very differently (Although that is entirely possible to do with the code I have, I am just not that great at UI programming)

edit edit: I haven't tested it with very large resolution squares. Only in the 250x250 area. I am fairly certain that it won't perform very well at larger resolutions as it is checking every single pixel for a value at a frequency of 20 times a second.

edit edit edit: I also haven't tested it with multiple monitors as the monitors I have at the moment are way too ancient to interface with my videocard. But I am confident that way I am doing things can be fixed to work with multiple screens without too much work if it doesn't already.

edit edit edit edit: Tried it in a fairly large (1000x800'ish) area and it ran with no problems on my machine, but I am running a fairly beefy older generation i7.

21
I got the basic idea down, now I just need to wrap it in a UI.
bacon.pngwat.gif
(Disregard that I am hijacking the console window to draw the captured bitmap, this is just for testing)

I am not sure if I am handling this in the best way possible, I am basically taking a screenshot every X milliseconds, and running through the entire bitmap looking for a pixel with the color you want.

22
Doesn't the fifth amendment of the US allow people to not have to disclose something like a password to their electronic devices?

edit: Herpa derpa, should have read the entire thread.

23
DC Gamer Club / Re: Payday 2 - Steam giveaway
« on: June 08, 2017, 03:01 PM »
What are those moneygrubbing bastards trying to do? I still haven't forgotten the sting from their microtransactions and DLC power creep.

24
N.A.N.Y. 2017 / Re: Donating Prizes for NANY 2017?
« on: December 17, 2016, 11:23 AM »
I have some spare games from humble bundles if that can interest you

25
Community Giveaways / Re: TIS-100, a programming game
« on: December 09, 2016, 09:46 AM »
http://store.steampo...ered.com/app/370360/

It's a game where you solve programming puzzles with a bunch of boxes which each can communicate with each other, but have very limited resources available (I think it's something like 15 or 20 instructions, one register for saving values and one accumulator)

Pages: [1] 2 3 4 5 6 ... 16next