Not all who wander are lost
Ramblings of
Alex Lovett
RSS
Twitter
Tumblr
Youtube
LinkedIn

Navigation:

Up a Level - error_log - Experiments - Store

Documents:

Unity5 - Reality_2.0 - Math_Art - Lilly - Drawing - GameDesign - Inspiration - XFactor - Valideus - Food - WheelReview - GKN - Lumen - WishList - RoundTree - Painting_with_Light - House - Website - Fridge
Tags: - Programming - Games - Unity - Shadowood
Show comments


Unity3D is amazing, great, wonderful etc etc

And then you get all excited about having spent all year reading and learning C# in depth like a boss. Having read the entire Unity manual, 100's of articles.... 1000's of articles....

And then... aaaand then... you can't even figure out how to draw a simple rounded rectangle on the screen to make a button. Basic things you take for granted in Flash completely missing in Unity. As Unity really is more of an operating system for making things. And so off you must head to the asset store and goole to find someone else's code to solve this. And then you find dozens of approaches, some long ago abandoned and longer updated, and the best ones no longer developed as Unity snatched the debs up and employed them! How is drawing a simple shape so complicated!

In any case, I decided to create a rounded rectangle in vector style using no bitmap data, found Vectrosity was super good at turn lines into polygons that then draw on the screen to look like well... lines. Nicked some kind to draw circles, put them together in a class and tadda the rounded rectangle drawing class was born:





And yah it has a glitch in it, but otherwise good job team me only took me several days of googling and trying to find a compromise

Ok now to just draw it the size I want and make it fit the width of the screen on ipad/ios etc etc...

Seriously... ok this too is hard apparently!

Which sprite / UI manager do I use, NGUI, SpriteManager, EZGUI..... on and on, oh Unity is bring out a new GUI system... they said a year ago... ok can't wait for that

Screw it, made my own Transform like class with relative scaling, positioning and all that fancy jazz. Took longer than I thought... many days arguably wasted

:-)



Now I need to draw my Logo, but at a different location and scale depending on the screen size, screen dpi.. orientation... oh god, what can of worms is this....

So I write that by having multiple copies of my special Transform and a script that picks which one of those to use based on criteria....

And there you have it, several weeks to get my logo and a rounded rectangle drawn to the screen exactly where I want it

This while making a game thing... could end up taking quite some time I think :-S

In the process made some weird looking stuff!

First attempt at rounded rectangle created some weird bacon like creations:





Rectangles ahoy:


Playtime with procedurally rounded rectangles!, Oh the fun I have:








Tinkered with making 3D looking text:






Show comments for 'Unity Vector Graphics'
Tags: - Programming - Games - Unity - Shadowood
Show comments

There are a total of 0 books on advanced Unity 3D with C#

I mean... seriously, what are you doing learning Unity if you need this bit explaining this verbosely:



That explanation did not need to take up that much space

:-D



Speaking of learning to code, it is funny to think how far I have come, even if it feels like I am not moving sometimes

Not long ago something like this would have made me quite emotional:


And now it just makes me screw my face up a bit

( it was complaining because I was using a nullable values represented by question marks. Your chance of figuring that out if you just started C# about the same as == null ?? -1



Show comments for 'Unity Books Suck'
Tags: - Games - Unity
Show comments


It is always darkest, just before it goes pitch black, so only shadows comfort me

Got Unity tracing to Terminal.app in ANSI Color, and with stack tracing if needed wool


And Syntax colour for MonoDevelop, bit pink but what the hell, based on Xcode but Dark


Finally Photoshop has a Dark UI! Rejoyce!


Show comments for 'Only Shadows Comfort Me'
Tags: - Flash - Programming - Interactive - Apple - Unity - HTML5 - Web
Show comments

Adobe Flash, Apple iPad and iPhone, Unity3D, HTML5, FXG, Chrome and Webkit 2... where is this all heading?


Flash is Dead

Ok, no not really, but It's wounded and bleeding and to no sudden surprise to me and many others.

Apple you see has very firmly put the last nail in the coffin for Adobe Flash on the iPhone and the iPad with recent announcements.

Steve Jobs was visibly gushing at the recent iPhone OS 4.0 event, demonstrating his vision for iAds, little animated interactive adverts that don't suck, all made in HTML5, throwing round numbers like BILLIONS and 'have you ever seen anything like this before!!... I havnt'
All at the same time slightly rubbing his genitals in the face of Flash, and rightly so.
This of course followed by the announcement that the new appstore policy would most certainly exclude all Adobe Flash powered apps. *gulp*

Link: www.apple.com --- specialevent0410




My Logo for HTML5

Link: apirocks.com --- html5



Apple have been and are increasingly persuading people to use HTML5 instead of Flash. This is partly because Apple/Steve Jobs hates Adobe for being such a sloth and are no doubt internally fuming that It's taken until Adobe CS5's release (coming out soon) for them to finally use the coding frameworks Apple have strongly been advised them to use since OSX was in very first development. And partly because they don't want anything like that kind of situation ever happening on their new light weight modern mobile operating system that is the iPhone/iPad OS.

Personal disgust aside, Looking purely at the technical reasons, multitasking, battery life and low level hardware features... it makes perfect sense and over time will hugely benefit consumers. Flash on the iPad/iphone is a bit of a shitty citizen and Apple demands higher standards, I suspect they don't much like the idea of the already crammed AppStore being Flooded with quickly ported buggy slow and battery draining shovel ware. This hurts some of the genuinely good apps but if the developer is genuinely good and the app is genuinely good then they would have no trouble justifying porting it properly and re-releasing it. Anything worth doing on the AppStore is worth doing right in Apples opinion.

The reason they didn't let Adobe know that they were going to uhm ban all their efforts is likely because:
A: Apple have always said and persuaded people to USE the proper development tools to make apps and doing anything else will result in your eventual demise.
B: Apple thought it would be bloody hilarious to kick Adobe in the teeth for all the shitty lagging they did back when the Mac was struggling for support and they just floundered about with lazy stop gap measure partial ports of Photoshop right up until the release of CS5.

'Creative types don't care about technical lingo, cross-compiling or the compatibility layers.'

Link: tekkie.flashbit.net --- creatives-should-remind-apple-they-exist



And It's because they don't care they are not aware of how damaging a 2nd class citizen like Flash could be to a mobile platform if it promotes lazy coding or ports opposed to the hard work that goes into making First CLass native applications. And First class is what is needed to facilitate things like multitasking without increasing power consumption.

For every Flash developer that isn't on the iPhone it makes room for native programs and the people who code those, and that is a good thing. Even if it means people have to go out and actually learn another language or invest more effort and energy into something. No ones complaining theres lack of choice on the AppStore, if anything it needs pruning.

--

SproutCore SquirrelFishes and more?

There are many interesting developments around JavaScript now that it it performs so well in modern browsers thanks to engines like GlassFish.. wait now SquirrelFish.. no wait they renamed again to Nitro

For people used to coding for Mac or native iPhone apps you can use frameworks like Objective-J or Cappuccino which allow you to use similar coding to produce nice JavaScript code.

And theres SproutCore

Link: www.sproutcore.com



Which is what Apple actually used to produce It's very polished web apps for MobileMe with a fully featured Mail client as one example.

It has tools coming to visually build 'rich' user interfaces using all kinds of elements you'd expect for building desktop applications, buttons, panels, sliders and so on.

Link: touch.sproutcore.com --- hedwig



And Apple looks to be enjoying a good deal of involvement with these products too given their vested interest, It's proposed iAds will start off as a creative service ran by them alone but it will release tools/frameworks/javascript code to the masses to roll their own. For example I believe the help documentation on the iPad is written with such unreleased libraries and runs entirely in HTML+JS, and presents a fluid panel based interface with the sliding and bouncing and basically all the feedback and physics you'd come to expect of a native iPad/iPhone app... but in the browser.

Object orientated programming in JavaScript indeed, oh how I love abstractions on top of abstractions on top of ....



Adobes: FXG - Open advancement/replacement of SVG for storing animation/vector graphics in a way that doesn't suck hard

Link: www.andersblog.com --- flash_on_the_be



It's not all doom and gloom for Adobe of course, they are implementing HTML5 tools and conversion from Flash/Illustrator via Dreamweaver. And it looks pretty good too using FXG the open format they designed. They tried to use open SVG for their purposes but SVG turns out to be ass backwards so they tweaked it and improved it and called it FXG.

This is great as lets face it, no creatives were looking forwarded to creating things like Apples new iAds and animating HTML5 using a graphing calculator and a spreadsheet.

Link: www.9to5mac.com --- Flash-html5-canvas-35409730



--

Adobes Flash Player was one of the more impressive things Adobe have developed (the AS3 runtime engine not the horrible IDE) and It's still pretty inefficient (the graphics part) especially fullscreen on a iPad like device with limited RAM and battery, the IDE's and Tools Adobe make to edit content are generally antiquated and bloated by todays standards too, regardless of how established they are and how monumental they may have been decades ago, Adobe appear to try and get away with as little effort and work as humanly possibly when it comes to Mac support, maximize profits and cut corners, they are slow moving and dogged down by too much baggage and legacy. And they will pay dearly for this as they have visibly pissed Steve Jobs off and rightly so. Saying that though, there are still strong forces for good inside Adobe trying to change things for the better, to open up formats like .FLA and generally promote freedom and choice and interoperability all things this creative professional likes greatly.

But they are moving perhaps too slowly, we shall have to see with CS5 if they have grown enough to stay relevant

It really is time to get on board with open standards and make money from creating GREAT content creation tools, not making mediocre minimally updated content creation tools that rely on locking people into popular but closed systems for distribution.


Link: www.google.co.uk --- chrome


With my new custom icon cus the default one is a gay. Really gay

Flash was a force for good when JS execution was awful and rendering HTML was guaranteed for failure in one browser or another. But that landscape has now changed drastically thanks to Apple with Safari/open WebKit and Mozzilas Firefox and now Google with open Chrome.

Link: webkit.org



And during a tough time like this what you don't need are official Adobe Evangelists spouting complete bollox and looking rather childish:

Apple Slaps Developers In The Face

Link: theflashblog.com



I had to wipe a tear of laughter from my eye to the recent addition of:
[Adobe would like me to make it clear that the opinions below are not the official views of the company and are entirely my own.]
Yah I bet they would, you raving lunatic

It's a fair first reaction to have, but as an Adobe representative and a grown Adult you're supposed to maintain the company message not confuse matters more with your own reactionary blabbering and name calling. Plus being in that position you'd think he'd actually be required to know anything about what he's talking about. I know more than him and Adobe don't pay me anything.

'let me put aside my role as an official representative of Adobe for a moment' = you just fired yourself, you can't do that and get paid at the same time (I presume he gets paid?)

This kind of oh mummy Apples bad to me crying does nothing to help me take Adobe seriously
It's a tough world, you have to innovate to compete, not recycle, fortunately I believe this is just the idiot few at Adobe (that should be removed) and Adobe as a whole are not collectively as stupid as It's few vocal bottom dwellers.

More laughter ensues: An additional claim that "Apple has timed this purposely to hurt sales of CS5" has been redacted from Brimelow's blog entry at the request of Adobe.
Yah that basically concretes my initial conclusion that he is a massive tool. I wouldn't be surprised if the next redaction turns the site into a big blank page saying they are experiencing technical difficulties as he is forcibly dragged away screaming and sucking punctuating by him sucking his thumb.

"The primary reason for the change, say sources familiar with Apple's plans, is to support sophisticated new multitasking APIs in iPhone 4.0. The system will now be evaluating apps as they run in order to implement smart multitasking. It can't do this if apps are running within a runtime or are cross compiled with a foreign structure that doesn't behave identically to a native C/C++/Obj-C app."

"[The operating system] can't swap out resources, it can't pause some threads while allowing others to run, it can't selectively notify, etc. Apple needs full access to a properly-compiled app to do the pull off the tricks they are with this new OS," wrote one reader under the name Ktappe."

maybe he can find the guys from Adobe Dimension and Adobe Livemotion and form a support group -_-


Unity3D - a forward thinking 3D engine and toolset for creating games for Mac, PC, iPad, iPhone, Wii (and PS3 soon I think)

Link: unity3d.com



I do hope none of this impacts Unity3D in a negative way, these guys seem to really 'get it' and produce good tools and good solid performing code.

They seem hopeful that it won't effect them. So fingers crossed for them.

--


Above: The mighty Apple has seen it all before

Some people have short memories

There are many that think Steve is some kind of control freak who wants the world to revolve around his finger, well, this is maybe partially true but It's also the no.1 reason why Apples products are so unusually interesting and fun and easy and joyous to use, Apple have had a long history of throwing out the old while everyone else is still getting used to it. It has allowed them to remain nimble and grow fast where everyone else is still talking about it and showing concept images.

It's the fundamental way they work, a driving principle behind their success, sure they don't make any friends doing so, and in the past this worked to their disadvantage on many occasion but these days, with Apples power and influence (market/mind share) it doesn't really matter, as Apple now sets standards all by itself. If Apple wasn't this way there would be no reason for them to exist as we already have plenty of mediocre reactionary companies to choose from.

I remember an old Apple Keynote, where Steve jobs revelated in the thought that when Apple and Microsoft join forces they are 100% of the market and anything they decided to do IS standard. This shortly preceding Bill Gates big goofy mug filling the presentation screen to a chorus of boo's as they helped bail out Apple for their own ends.

How things have changed since then, now Apple sets the standards by itself on It's own platform with a complete end to end solution and a freakishly dominate market share.

Apple got the chance to do what they dreamed of for the Mac with the iPhone, unhindered, unrestricted.

I applaud Apple for their vision, they were given the chance to do exactly what they wanted and they TOOK IT like they always have done, but this time without any worry of backwards compatibility or having to court and ass kiss slow moving software corporations to port software.

And now everyone is fighting to make software for Apple devices, and the consumer wins big time, and the creative artist and programmer wins big time too (the good forward thinking ones who don't cry baby that their investment in Flash is dwindling)

And I say all this as someone who has 1000's of hours investment in Flash... *gulp*

--

Now can we have the same revolution for the Mac Desktop?

Applications that resume where you left off and resume FAST no matter what computer or device your use, preferences and documents that go where you go.

A regulated organised application store for games and tools promoting modern code and good design.

Instant content/document search from a modern metadata file system like ZFS

A Finder capable of leveraging the modern filesystem with organising and displaying all kinds of media, documents, images, photos using modern concepts of stacks and tags and other logical groupings

Resolution independent GUI for high resolution LCD displays of the future, complete with modern GUI widgets and tools for creating powerful easy to use programs around standard components.






Show comments for 'to Flash or not to Flash'
Tags: - Tech
Show comments

Trying to understand the world of hosting, dns, name servers, registrars, cnames, domains etc etc...

Bizareo world it really is, lots of shady reselling going on, companies that tend to vanish over night unintentionally and ones that vanish quite intentionally with your money ; round every corner it seems.

I've been getting a bit pissed off, I just registered a free domain at co.cc to only have co.cc vanish today, no doubt they will be back in a day or so, but to have a name server go down is unacceptable even for a second.

And my web host has given up the ghost too, almost in tandem. All my searches through free hosting has resulted in wasted energy, seems like almost every other host you goto is really owned by one you just visited already, I thought id found a gold mine with 07x.net but didn't take long to find it randomly decides not to serve up images now and then, but I found a few more hosts that offered similar if not as great services... but nay they looked suspiciously identical to 07x.net and I\'m fairly sure they were either the same company or reselling services of the same company, in any case, they both suffered the same fault.

Even looking at paid hosting resulted in frustration, I can put up with limitations and file size limits on free hosting, but even stricter file format and size limitation on PAID hosting is out the question, I got fed up in the end after host after host told me they didn't support anything other than images and html, NO videos, no zip... or their idea of unacceptable use constituted of users downloading more than 1mb per visit.... *cries*

So basically I have to pay £10 a Month minimum to get even basic hosting it seems..... screw that. This site is a hobby/form of expression more than anything else... call me tight. Makes more sense for me to just continue hosting it myself, move it onto my always running Mac Mini.

All made extra difficult by my somewhat specialized needs. I need Large file hosting (20mb) (or at least I will do eventually) a gig of storage at least, PHP support (with support for absolute paths with PHP include) and FTP that supports my methods of synchronization.

But hurrah a light at the end of the tunnel, I've found a home with a good friend who has a dedicated machine somewhere in far reaches of the web. For now It's just hosting the images for me, I'll hopefully get the PHP moved over in a few days and get a domain sorted out... It's perfect as I can have a shell account meaning I can use rsync over ssh to synchronize any changes to my whole website in a few seconds.

I'm also thinking of buying AlexLovett.co.uk

Fairly, boring, unmemorable... but hey.. It's my name! therefore I cannot get bored of it and feel urged to change it every year... *thinks about changing my own name* ..... ..... no!

But even buying a name is more complicated than id first thought, lots of resellers, some will drop you and dissolve your account just from a single complaint email or based on text content filtering.... yuck!

These guys caught my attention in my searches regarding hosting and domains, check them out if your interested in this jazz at all:

Link: www.gandi.net


Link: www.zoneedit.com


http;//www.easyspace.com/


Show comments for 'Hosting = Crazy'
You have reached the end of this page - But there's more! Click Older for more
Subscribe to my News Feed.. or screw you then!
When you look back upon your life, It's always with a sense of shame, you've always been the one to blame
Copyright © 2006 - 2024 - Alex Lovett
Site and content designed, built and massaged by
Alex Lovett
( HD6 / HeliosDoubleSix )
contact me by email:
Page Rendered in: 0.046 seconds, like a boss