Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / [STICKY] The Posting Competition

Author
Message
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 4th Sep 2015 09:50 Edited at: 4th Sep 2015 11:29
So, as some here may know already, Arrays are not my forte... but seeing this in C# kind of intrigued me

Rectangular array initialization with an initialization list:

int[,] intBeerArray = new int[,]
{
{10,100},
{20,200},
{30,300}
};

... more studying to go

EDIT

PAGE!

Jagged Arrays look insane... but pretty cool...

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 4th Sep 2015 11:47
Quote: "Wow no one got the reference in my lost post. Ya all are just too stupid."


It's probably something really gay, like Anchorman 2.

I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 4th Sep 2015 13:41 Edited at: 4th Sep 2015 13:41
Anybody else experiencing up to a minute delay after clicking post message recently? started around a week ago...

EDIT

It occurs across the forum...

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 4th Sep 2015 14:17 Edited at: 4th Sep 2015 14:28
Yeah, I keep getting server timed out errors. This has been going on for about 8 months.




I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 5th Sep 2015 03:09
WOW, TheComet! I'm hypnotised by that truly insane tileable gif! It actually reminds me of my early experiences of game-making with The Games Factory 1

MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 5th Sep 2015 10:16
That is one heck of a disturbing gif lol... reminds me of Cloud Atlas...

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 5th Sep 2015 12:45




I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 5th Sep 2015 15:37
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 5th Sep 2015 15:38
Have you seen it?

Yodaman Jer
User Banned
Posted: 5th Sep 2015 16:41
No but I see these points.


Forum President until June 20th, 2016.
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 5th Sep 2015 17:38
Quote: "Have you seen it?"


Yes.

-------------------------------

WOW I am completely addicted to CS:GO. I just can't stop playing it! Gonna have to force myself to stop because I'll never finish my game and never get out of this dead-end job unless I do

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 5th Sep 2015 17:49
Quote: "WOW, TheComet! I'm hypnotised by that truly insane tileable gif!"


I found the gif on TGC quite a while ago. Back then I didn't realise they were seamless, so I ended up downloading the same image 4 times.

I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 5th Sep 2015 19:51
Quote: "Yes."


Take a look at one character in the animation who is beamed up and then uncannily destroyed...

3 back, 1 up from bottom right....

Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 6th Sep 2015 00:07
PAGEmaster
Yodaman Jer
User Banned
Posted: 6th Sep 2015 00:31
Quote: "PAGEmaster"


ERROR 404: PAGE not found.

MrV already claimed this page


Forum President until June 20th, 2016.
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 6th Sep 2015 00:31
Page Master

"Giraffe is soft, Gorilla is hard." - Phaelax
Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 6th Sep 2015 03:53 Edited at: 6th Sep 2015 03:54
no thats incorrect'



bronysaregaypedos.gif

Attachments

Login to view attachments
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 6th Sep 2015 05:52
Benjamin enjoys the 40 posts per page setting.
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 6th Sep 2015 06:08
Quote: "Benjamin enjoys the 40 posts per page setting."


As do I, but I never claim page because I can't tell when a new page has started according to official 50-post-per-page rule

I want to go play CS:GO right now but I need to eat some lunch.... grrr!

Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 6th Sep 2015 06:43


budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 6th Sep 2015 14:15
Quote: "As do I, but I never claim page because I can't tell when a new page has started according to official 50-post-per-page rule"

Really? I'd say it's pretty easy.
PageNum % 50 == 0
or
47,700 = page
47,750 = page
47,800 = page
47,850 = page
47,900 = page
47,950 = page

"Giraffe is soft, Gorilla is hard." - Phaelax
Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 6th Sep 2015 14:25
Quote: "PageNum % 50 == 0"


That would only tell you if the current page number is a multiple of 50. Not particularly relevant.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Sep 2015 17:44 Edited at: 6th Sep 2015 17:48
Quote: "That would only tell you if the current page number is a multiple of 50. Not particularly relevant"

Not sure if trolling or being serious...


@Dar13
@Dar13
@Dar13
@Dar13
@Dar13

You don't seem to be online so I'll leave this here. I hope you can help me with this issue I'm having in Urho3D.

I've added a LuaScriptInstance to a node in my scene in the editor:


The Lua script contains the following code:


Next, in my App, I make sure to create the LuaScript subsystem:



I load the scene with the following code:



When I compile and run my Application, I see the output "Hello!" but I never see "Update":


What's going on? Why isn't Update() being called? I tried some other built in methods like Start() or FixedUpdate() but they're also never called...

I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
Yodaman Jer
User Banned
Posted: 6th Sep 2015 18:01
So guess who is finally taking his week's paid vacation this week?

If you guessed YODAMAN JER, you would be 100% correct, by golly!

Normally, I wouldn't have taken it. I didn't last year and opted to just get the time pro-rated so that I would get extra money But this year, let's recap and see why I may have decided to take the time off.

July - This month barely existed for me since my mother became severely ill with the brain tumor/colon cancer diagnosis

August - Also barely existed because of my mother coming home, us having to help her recover, and then BAM getting involved in a car wreck.

I know, one week won't make up for two lost months, but I will finally be able to sit at home, and not worry about going to work. I can just sit and relax and gosh darn it, I will probably watch some Columbo on Netflix and finally get to programming worthwhile things with AppGameKit and the Love2D engine (although I do enjoy Love2D, I feel it does overcomplicate several things).

I will also play Minecraft on my server world that I have just finished (except for a few things, but I will probably post the ip address here tonight if anyone wants to come join me!), and probably just generally have a good time with myself. Go for long walks, sit outside reading a book, and who knows what else. Probably not a whole lot.

The sad thing is, I will probably do all of that in just one day and then have nothing else to do for the rest of the time off.

But, today I have one more shift before the vacation starts. Haha it's only four hours so it will feel like nothing, other than a waste of my time


Forum President until June 20th, 2016.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Sep 2015 18:02 Edited at: 6th Sep 2015 18:03
Update: I tried loading the lua script in C++ only, without using the editor.


Same problem.

I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 6th Sep 2015 18:49
Unless the editor does it for you when you load the scene, you need to subscribe your Update() method to the E_UPDATE event. I haven't gotten as far as you in using Urho3D but that's probably where you should start looking.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Sep 2015 19:16
Quote: "I haven't gotten as far as you in using Urho3D but that's probably where you should start looking."


I doubt that, I've only just started using it (it's been 24 hours since I first got it running).

According to the docs:
Quote: "Like their AngelScript counterparts, script object classes can define functions which are automatically called by LuaScriptInstance for operations like initialization, scene update, or load/save. These functions are listed below. Refer to the AngelScript scripting page for details.

"


It should call the lua function automatically...

I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 6th Sep 2015 19:43
Quote: "If you guessed YODAMAN JER, you would be 100% correct, by golly!"
Is there a prize for being 100% correct by golly? Because I was 100% correct by golly.
Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 6th Sep 2015 21:03
Quote: "Not sure if trolling or being serious..."


Yes, I'm using simple logic to troll. What matters is the amount of messages, not the amount of pages.
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 6th Sep 2015 21:09
Quote: " It should call the lua function automatically..."

But it's not. I don't know, I haven't even touched the scripting stuff yet.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 6th Sep 2015 21:49 Edited at: 6th Sep 2015 21:51
Figured it. I wasn't supplying the script object type in the editor:


I'm pretty sure that's what I was doing with luaScriptInstance->CreateObject(characterControllerFile, "CharacterController"); but now it works for some reason.

I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 6th Sep 2015 22:40
Quote: "Yes, I'm using simple logic to troll. What matters is the amount of messages, not the amount of pages."

You mean posts and pages aren't interchangeable? Are there other things that aren't interchangeable?

"Giraffe is soft, Gorilla is hard." - Phaelax
Randomness 128
17
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 6th Sep 2015 22:42

Music for Exotreve! This is the first thing I composed after watching a bunch of videos about music theory.

320x224
Seditious
11
Years of Service
User Offline
Joined: 2nd Aug 2013
Location: France
Posted: 6th Sep 2015 22:46
Quote: "You mean posts and pages aren't interchangeable? Are there other things that aren't interchangeable?"


Yes, for example points and points.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 6th Sep 2015 23:45
Forum Troll War, hang on while I fetch some popcorn...

Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 7th Sep 2015 04:37


Beta Test Age of Knights:https://play.google.com/apps/testing/com.CrazyProgrammerProductions.my_AgeOfKnights
Download JellyFish Dive:https://play.google.com/store/apps/details?id=com.CrazyProgrammerProductions.my_JellyFishSwim
Clonkex
Forum Vice President
14
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 7th Sep 2015 10:37
Quote: "So guess who is finally taking his week's paid vacation this week?"


Don't try to plan what you'll do too much, and don't wake up too late and you'll have a great time

Quote: "Music for Exotreve! This is the first thing I composed after watching a bunch of videos about music theory."


Definitely like the tone and theme of it; very dark, 80's sounding - would work well for level with the feel of this album cover (which is kinda creepy so contained in a codebox):



However, I will say that some of the note progressions seem a little bit random and unexpected (and one or two are just wrong). I don't claim I could do any better (because I'm pretty bad at music creation most of the time) but that's my honest feedback. Awesome music, though, listened to it several times

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Sep 2015 13:19
I got Lua scripts working today! I really like the way everything is structured. You can attach lua scripts to any component in your scene and use that to control details. This makes it really easy to create behaviour, visual effects, or whatever without having to worry about it anywhere else.



As you can see, my script will print when the user presses W:



I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 7th Sep 2015 13:27
TheComet, Nice!

budokaiman
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 24th Jun 2009
Playing: Hard to get
Posted: 7th Sep 2015 14:22
ThePoints, Nice!

"Giraffe is soft, Gorilla is hard." - Phaelax
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 7th Sep 2015 19:31
TheNonPage, Nice!
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Sep 2015 19:34 Edited at: 7th Sep 2015 19:36
Me, Nice!

[b][/b]

I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 7th Sep 2015 19:36
You, Nice!
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Sep 2015 20:34


What you see here is a prototype of the spell system I intend to use as a central game mechanic in this game. It was written in python using pygame and can be downloaded here.

The aim is to build a powerful spell crafting system for the main character to use. The main character possesses a magical horn which acts as an energy converter. It will convert the calories of your body into pure energy, and that energy can then be re-converted into some other form (e.g. light, temperature, electric charge, force, etc.) to use against your enemies or to solve puzzles.

The idea here is you can drag-and-drop various fundamental spells and link them together to form a more complex spell.

You’ll notice each spell has a percentage in the center: This indicates the efficiency of the conversion. The lower the efficiency, the more expensive it becomes to use that spell in a chain.

At the bottom of each spell you’ll notice the target output value. The light spells are all set to emit 3000 lumen while the temperature spells are set to room temperature (which means they won’t consume any energy).

On the horn you’ll see a number of watts. This number shows the required energy to power all of the spells currently connected to the horn.

The UI obviously needs work but I feel like the main idea is solid.

I spent seven hours vividly hallucinating then I woke up and ate the meat of other animals for energy, now I'm going to do something I don’t want to for eight hours for pieces of paper.
Yodaman Jer
User Banned
Posted: 7th Sep 2015 20:51
Ooh that is a very intriguing concept, Comet! I dig that. It's nifty.


-----

Anybody else frustrated with TGC at their lack of communication on the Linux version of AppGameKit? They release one and then... nothing. Not one word on whether or not they're fixing the bugs or not, or even saying if they're going to continue support. Very, very frustrating.

Good thing I'm learning Lua and Love2D, although there are several things I don't like about it (no built-in collision detection, but that's ok I guess).

Comet I see you are using PyGame, how is that working out for you? I might look into that, I do like coding with Python.


Forum President until June 20th, 2016.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Sep 2015 21:04 Edited at: 8th Sep 2015 13:27
Quote: "Comet I see you are using PyGame, how is that working out for you? I might look into that, I do like coding with Python."


pros:
It's very easy to use. I often turn to pygame when I want to prototype a system in 2D as python allows incredibly rapid development cycles. The documentation is good and the community is helpful.

It's also obviously cross platform.

cons
Seeing as pygame is a wrapper around SDL 1 it doesn't support accelerated graphics natively. Everything is rendered on the CPU.

From gamedev.stackexchange:
"PyGame itself, being a wrapper around SDL, is unable to directly use hardware acceleration. You can, however, use PyGame to create an OpenGL context and then render into that via an OpenGL library like pyglet or PyOpenGL, which will let you then also use GLSL vertex and fragment shaders"

So you see there's a way around that.

The other issue is the speed of python. It is an interpreted language, so naturally it won't be as fast as a compiled language. But again, this issue can be overcome by offloading intensive work into a compiled python extension.

[b][/b]

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 7th Sep 2015 23:53
Quote: "Anybody else frustrated with TGC at their lack of communication on the Linux version of AppGameKit? They release one and then... nothing. Not one word on whether or not they're fixing the bugs or not, or even saying if they're going to continue support. Very, very frustrating. "


I havn't looked at AppGameKit since they released that version. Have they just stopped releasing the new versions for it?

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
Yodaman Jer
User Banned
Posted: 8th Sep 2015 00:40
No, it's still at version 2.0.14b for all platforms, but they have known about the GetRawKeystate command being faulty since 2.0.10, which was the first release for Linux. They have completely failed to fix the bug, and haven't said one word about it even though there have been multiple complaints about it in the AppGameKit on Linux thread.

It would be nice if they would at least let us know what the future for Linux is, but no one from TGC has posted in it since May. It's crazy and really unprofessional and, as you can tell, has made my loyalty to them falter a bit.


Forum President until June 20th, 2016.
Dark Java Dude 64
Community Leader
14
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 8th Sep 2015 04:46
Next person gets points, courtesy of me. But then I get to claim page. Hopefully.
Yodaman Jer
User Banned
Posted: 8th Sep 2015 05:04
Eh, I s'pose I'll let you. But don't get used to it.


Forum President until June 20th, 2016.

Login to post a reply

Server time is: 2024-11-23 23:39:51
Your offset time is: 2024-11-23 23:39:51