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 - Raizor

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 ... 47
101
Projects / Re: Fauntastic!
« on: December 08, 2012 »
Hi Faun and welcome :)

Nice little intro, I like the style a lot, reminds of Amiga - which is always nice!

102
C / C++ /C# / Re: Help on WinForms UserControls
« on: December 02, 2012 »
Using a panel sounds a lot more manageable than what I have going right now. Here's a PasteBin of the current UserControl code I have right now: Zoomer.cs. And here is the form code: ImageForm.cs.

I will play around with using a panel and PictureBox and see if I can make any progress. I'll let you know if I get anything working.

Cool. Also let me know if you don't get anything working and I'll try and help out. What version of Visual Studio are you using btw?

103
Have you heard of SublimeText? They actually have a primitive version of IntelliSense with variable name completion that works for Lua.

The only way I could see getting that to work is adding every identifier or block of text that is not in the list of language clauses and control structure keywords and not a string, but then you have to take into account lexical scope and it could get a bit messy from there. I haven't poked around with how IntelliSense works, but it may be easier than I'm thinking.

No, I've not come across that before. It does look quite interesting. I really would like a solution that slots into Visual Studio though, and that doesn't look like it does. Worth a go though, thanks for pointing it out :)

104
C / C++ /C# / Re: Help on WinForms UserControls
« on: November 29, 2012 »
I've just checked my old code and it does indeed use LeadTools, which is a third party imaging suite.

If I were to do something like this in standard C#, using GDI+, I would likely try the following:

1. Add a panel to the form and dock it to 'fill'.
2. Add a picturebox control within the panel and set its dimensions so that it matches the panel. Set the SizeMode of the picturebox to "zoom", this will cause the image to stretch to the dimensions of the picturebox, while maintaining the aspect ratio. You probably don't want the picturebox docked as we'll be changing the dimensions and position of it for panning/zooming.

For zooming, I would simply multiply the width and height of the picturebox by a scale/zoom factor. So if you're picturebox is 300x200, it would be scaled to 600x400 at 200% zoom. You could hook the mousewheel event over the picturebox to control the zooming. I'd also hook the mousedown event when over the picturebox and set a dragging flag (bool drag = true) while the mouse is down, also store the X/Y position of the event. When the use mouses up, set the drag flag to false.

You could use the mousemove event over the picturebox to control panning a zoomed image (as long as the dragged flag is set/active). You should be able to compare the current X/Y pos of the mouse during a mousemove event against your drag-start X/Y that you stored on mousedown. This should give you the offset X/Y to reposition the picturebox within the panel for panning.

I think that should do the job.

105
C / C++ /C# / Re: Help on WinForms UserControls
« on: November 29, 2012 »
I did something similar to this for work a while back in C#. I can't recall if it used the native GDI+ stuff or LeadTools components for the image display. I have a feeling I ended up using LeadTools, but it should be possible in GDI+ without too many issues. By all means post your project in the meantime and I'll have a look at it.

If you don't want to post it publicly, just send me a PM on here.


106
Thank you very much! This works great; if only it was easier to create IntelliSense support for such a loosely typed language.

I had seen the 2010 version plugin and was hopeful it would work, but here I am! Great work!

No worries EpikYummeh, glad it's proved useful. I did give intellisense some thought, but as you mention, it's a bit of a can of worms with a loosely typed language and not exactly quick to implement. The syntax highlighting is proving enough for me - for now ;)

Thank you for the feedback, and welcome to DBF :)

107
I came across the book: Texturing and Modeling, A Procedural Approach (from Ken Perlin among others), which looks really usefull. I'm wondering if anybody here is already familiar with this book and if you are what you think of it.

If you aren't meaby it's worth checking out too.

I've heard of it before, it does look very interesting. Just looked it up on Amazon, wow! $77 for the Kindle version. Ouch!!

108
I have ported my soft body blobs to javascript in order to get some HTML5 Canvas practice. Rotation and drawing styles were a bit confusing, because everything is on the same layer you have to use a stack to push and pop drawing styles and rotation values. The faces are now drawn procedurally and I added some sounds (mp3 only, no ogg yet). You can take a peek a the code with right-click > view source.

Controlls are the same as the Flash version:
Ctrl = add blob
Arrow keys = move blob
Click blob to split
Click and drag blobs around
Space shows spring stucture.

As the blobs would say: "Wowwwww!" :)

Great stuff Kirl, going to show it to my kids this evening, they'll love it!

109
After finishing the movie-database-project I got bored again and started last Friday something - I don't know what it will look when it's done..but I wanted to render something different than 2D/cubes and I wanted to explore OGL a little bit deeper than in my previous codes.. But it will have a "cracktro" style (again), aimed size is under 40k.

Cu.

Chains, cogs and TV lines - cool, I'm looking forward to seeing this when it's done Knurz :)

110
Projects / Re: A game project I'm working on
« on: November 12, 2012 »
That looks really cool nuclear. Reminds me of a modern day Eye of the Beholder game. I used to spend days and days playing EOB 1 & 2 back in the early 90s. Excited to see the finished product :)

111
Congratulations to Kirl, combatking0 and Blacksheep8Bit, really nice entries.

Well done to everyone else too, I really enjoyed watching them all.

112
General chat / Re: Raspberry PI
« on: November 09, 2012 »
Are they still way behind or are they shipping reasonably well now? There're links to a couple of shops from the official site and the estimated delivery times are different anywhere I look.

Element 14 seems to be the best place to order from at the moment. Delivering seem to be taking ~2 weeks, so pretty good. My last one was quoted at 3 weeks but arrived in under 2.

113
General chat / Re: The Welcoming Committee
« on: November 06, 2012 »
Hi nuclear, welcome to the forum :)

Nice hackergotchi :) I had no idea what one of those was until I followed your link. Hehe.

114
Challenges & Competitions / Re: [SPOOKY] Blue Gloomy
« on: November 04, 2012 »
Well done HotShot! Really glad to see you got it finished :)

K++

115
Challenges & Competitions / Re: [SPOOKY] 2spooky4u
« on: November 03, 2012 »
Very nice BlackSheep :) You seem to have a distinct style to your productions, which is very nice. I like this a lot!

K++

116
Challenges & Competitions / Re: [SPOOKY] DEMOnic
« on: November 02, 2012 »
4 words: Super Fucking Mega Awesome!

That really is wonderful Kirl. So many little great touches and the animation is just lovely. The design is top notch and it's just great fun to watch and interact with. The subtle sync effects really add it to it too.

</gush>

K++

117
Looked great before, now it looks really great!

I love the scroller and the new wave effect. I'm a total sucker for cubes, so this is a real winner for me. Really nice work CK :)

118
Great stuff Optimus. That really did remind me of those old games :)

K++

119
Original version works fine here rbz. I really like it! lovely atmosphere, well done.

K++

120
Challenges & Competitions / Re: [SPOOKY] Gruselig!
« on: October 27, 2012 »
Nice one Padman! Suitably spooky indeed. In fact, the sound effects may be a little too spooky!! The scream followed by the evil laugh gives me the heebie jeebies :)

K++

p.s. Nice to see some bump mapping again.

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 ... 47