SyntaxBomb - Indie Coders

Languages & Coding => Unity => Topic started by: therevills on November 05, 2017, 05:17:31

Title: Unity Tutorials
Post by: therevills on November 05, 2017, 05:17:31
Well I've been going thru the first couple of Unity tutorials... and its not as bad as a remember!

I even managed to get the Space Shooter one completed too!

http://www.therevillsgames.com/code/Unity/Space_Shooter/

It was a bit of a pain due to the fact the tutorial is out of date and had to find work arounds!

But... I.... may... create.... future.... games.... with UNITY!  :o
Title: Re: Unity Tutorials
Post by: iWasAdam on November 05, 2017, 07:22:03
Had a quick play and the game look and plays very well.

How did you find working with Unity? What did you like and didn't like?

Anything that made you go WOW, 'If only.."?
Title: Re: Unity Tutorials
Post by: Steve Elliott on November 05, 2017, 19:33:05
Quote
Had a quick play and the game look and plays very well.

Agreed.
Title: Re: Unity Tutorials
Post by: therevills on November 05, 2017, 22:40:48
Quote from: iWasAdam on November 05, 2017, 07:22:03
How did you find working with Unity? What did you like and didn't like?
Didn't like: Out of date tutorials, makes it harder than needed. Huge build files for Windows (22MB dll!)
Like: Fast feedback of changes

Quote
Anything that made you go WOW, 'If only.."?

Adding prefabs on the fly whilst in game mode was very cool!

It's early days for me in Unity...
Title: Re: Unity Tutorials
Post by: Steve Elliott on November 05, 2017, 22:46:46
22Mb dll.   WTF? No thanks  :o
Title: Re: Unity Tutorials
Post by: Dabz on November 06, 2017, 02:06:03
I'll be honest... File sizes arent an issue with me nowadays...

I mean, a 5gig save file in a AAA is an issue, credit to NBA 2K18 for that sheer bit excellence, but generally... In this day and age with large SSD's at reasonable prices, and decent internet connections... 22mb... It's nowt really is it!

I mean, as developers, we usually download big stuff all of the time in terms of SDK's, redistributables to make libs work, even on Linux you need to have a massive bash fest to get the simplest thing going.

22mb DLL, is it really whingeworthy? Like, really?

We arent running a Windows 98 spec'd PC with dialup anymore are we?

And I dont mean to say that in disrespect to anyone, its just, well, I cannot see the problem with it thats all! :)

Dabz
Title: Re: Unity Tutorials
Post by: Steve Elliott on November 06, 2017, 11:04:50
I know what you're saying Dabz, but 22Mb just for the DLL  - and then (only) a 2D Game ontop, but even then you have to take the hit of 22Mb.  Plus media (graphics/sound and so on) doesn't sit well with me because that's so damn inefficient - so much bloat!

I wouldn't use Unity because it goes against my principle that software should be as efficient as possible.  What?  Around 25Mb for a Space Invader game?  That's ridiculous!   :o
Title: Re: Unity Tutorials
Post by: degac on November 06, 2017, 12:24:23
22 MB is *big* if you are using a data plan on 4G... limited speed, capped volume (1 GB per day or 7.5 per week, depending on the contracts!).
And I'm thinking that we need to implement a 'greener' (=ecologic) way to use our data-way infrastructures... it's a limited resources (and has a clear & know cost!).
Title: Re: Unity Tutorials
Post by: Matty on November 20, 2017, 03:07:30
22MB is too big for mobile....sure most users use free wifi and don't notice the hit but I do.

As others have said, 22MB for a space invaders clone.

I could do a space invaders clone in java for under 1MB.

It is grossly inefficient.

Title: Re: Unity Tutorials
Post by: ENAY on December 19, 2017, 08:34:08
> I could do a space invaders clone in java for under 1MB.
>
> It is grossly inefficient.

I know this thread is old, but no idea why you're getting 22mb dllls. Compiling for mobile will not be making file sizes such as this. Unity might seem grossly inefficient, but people are using it to create PS4, XBone and Switch games that can run at 60fps and for mobile devices, pretty much everything is created in Unity these days.
Title: Re: Unity Tutorials
Post by: col on December 19, 2017, 10:50:02
Without meaning to go off-topic...

'Systems' do tend to neglect memory and file sizes nowadays.
At work I have to interface to a clients server and they have issued a rather nice SDK to help in doing so. My app is not exactly pushing the boundaries and it comes in at around 20Mb for a release build. The app requires some support files and they make the installation over 400Mb. It's absolutely crazy as my app hardly uses any of the features of the dlls, but one dll uses a tiny bit from another one an so one etc.

I saw a video recently ( not sure if it was linked from here or not and I can't remember the speakers name ) of a game programmer explaining basic optimisation techniques and people should use them as part of your everyday code. A guy stepped up from the audience trying to make a point that optimisation doesn't bother him as he doesn't write high cpu demand applications such as games, and that he makes desktop applications, to which the speaker replied something like 'Fine if that's what you want to do then go ahead and don't bother optimising your desktop apps, but just remember that your attitude is very the reason why I have to wait 30 seconds to open a simple Word document' :D
Title: Re: Unity Tutorials
Post by: GaborD on December 19, 2017, 11:47:40
Yeah 22MB is rough for mobile users. (not really your fault, it's just Unity being Unity.)
To put it in perspective, I just did a HTML5 game project for a client, they complained about 3MB being too big and I had to trim it down. Mobile is a pain. I honestly hate mobile. All of it.  :P

The game looks great btw.
It just needs more enemy variety and a bit more pizazz and I am a fan. I love simple oldschool games done right on modern tech.

Title: Re: Unity Tutorials
Post by: RemiD on January 19, 2018, 08:24:16
Quote
It's absolutely crazy as my app hardly uses any of the features of the dlls
same observation for drivers... for my laptop all the drivers combined (not the drivers but rather the softwares that come with them when you download it on the official website) are around 700mb... Totally unecessary !
Title: Re: Unity Tutorials
Post by: Amon on March 01, 2018, 21:33:05
Are the replies from those saying 22mb is too much, a joke or something?

Have I missed a joke or an early April fools doobiedaa or summit liek dat?
Title: Re: Unity Tutorials
Post by: Pakz on March 01, 2018, 22:38:23
Not to worried about the huge sizes at the moment. Over here the unlimited bandwidth phone subscriptions are getting more standard. Regular Internet wil be getting faster every (few) year(s) also.

About Unity tutorials: I bought into a Udemy course for Unity. It shows how to make a minecraft like game. 6 hours of video and unity project files that should work (have not checked yet) I have watched a good part of it already. It was for advanced users but so far I am not completly lost.

I stumbled on the site and was greeted with a discount offer of 11 euro's for the entire course with lifetime access. I think I might have a go at trying to experiment a bit with the project(s)(if they work) and try and add some of the level generation things that I have been working on for the last few years. And maybe add a shotgun and laser :)
Title: Re: Unity Tutorials
Post by: IanMartin on March 02, 2018, 01:28:58
Quotehad to find work arounds
What did you have to change?  Anything we should know if we're thinking of trying it out?
Title: Re: Unity Tutorials
Post by: Steve Elliott on March 02, 2018, 10:26:48
Quote
Are the replies from those saying 22mb is too much, a joke or something?

22mb for an empty project with no graphics or sound *is* very inefficient.  Because you have plenty of hard disk space these days, doesn't mean efficiencies should be ignored.
Title: Re: Unity Tutorials
Post by: Rick Nasher on March 03, 2018, 07:55:39
22mb is rather large. But anything is these days. I've had plenty android games that once initial download is complete happily continue  downloading more upto like 100mb.


Which most gamers just accept as part of the deal.


Also, I don't think most people would download this on the fly but while on a Wi-Fi connection which doesn't cost a thing. So I'm not too worried about file size: if the game is good they will download it.


But I also went through the unity tuts and constantly running into outdated uncorrected stuff which I think is pretty s..
Also I find debugging pretty horrible in unity. Gave me the spaghetti feeling.
So in the end I was just too fed up. I find that even though initially adding things like shadows and physics is a breeze compared to blitz, pretty soon the whole thing spins into an out of control monster where doing even the most simple tasks in blitz take lots of work in unity.


That's why I jumped onto agk which I was pretty sceptical about given earlier experiences, but soon came to embrace as it brought back the fun in coding, at least for me. But not everyone is the same of course...

Title: Re: Unity Tutorials
Post by: RemiD on March 03, 2018, 15:25:02
For those of you who are familiar with Blitz3d, and want to learn Unity, there was a kind of wrapper made by "Patmaba", called "Blitzlike".
You can't do exactly things the same way in Unity than in Blitz3d, but it can help you to understand the fundamental commands...
Title: Re: Unity Tutorials
Post by: Rick Nasher on March 03, 2018, 21:48:38
Link?

[EDIT: this one's dead https://forum.unity.com/threads/blitzlike.107345/    which makes sense as it's from 2011 lol]
Title: Re: Unity Tutorials
Post by: RemiD on March 04, 2018, 08:56:36
I must have it somewhere on a dvd rom, let me check...
Title: Re: Unity Tutorials
Post by: RemiD on March 04, 2018, 09:02:10
Sorry i don't have it anymore, (i have destroyed my dvds which were made before 2013...) maybe you can download it on the wayback machine ?
Title: Re: Unity Tutorials
Post by: Rick Nasher on March 04, 2018, 17:49:54
No problem. I don't think it would get me very far anyway, for it's just a different beasty. I do not have any issues with the commands even though they do not read as clearly as Blitz's. 

It's more when trying to run the whole oop-ed thing, that's hanging onto another by threads, then it's sometimes not running at all and can be very tricky to find out why that is, while in other languages you'd be presented with at least a decent clue or something.

But could just be me.
Title: Re: Unity Tutorials
Post by: ENAY on March 07, 2018, 08:52:22
Rick Nasher,

If you use Visual Studio, you should check out "Visual Studio Tools for Unity", it's a free download.
Makes debbing in Unity god like.

https://msdn.microsoft.com/ja-jp/dn833194.aspx
Title: Re: Unity Tutorials
Post by: Rick Nasher on March 07, 2018, 23:43:14
QuoteIf you use Visual Studio, you should check out "Visual Studio Tools for Unity", it's a free download.
Makes debbing in Unity god like.

Hmm. That sounds interesting. Will see if I can break loose from AGK, which is really devouring all my attention.
AGK is also more my cup of tea to be honest and scales down way better on my aging hw so I can at least get things done. But thanks for the info, will certainly come in handy.

[EDIT]
Apparently it's a bit of a 'thing' to get it up and running under VS2017..
https://forum.unity.com/threads/visual-studio-2017-tools-for-unity-where-to-find-a-download.487787/ (https://forum.unity.com/threads/visual-studio-2017-tools-for-unity-where-to-find-a-download.487787/)

For 2015 can be found here:
https://marketplace.visualstudio.com/items?itemName=SebastienLebreton.VisualStudio2015ToolsforUnity
(https://marketplace.visualstudio.com/items?itemName=SebastienLebreton.VisualStudio2015ToolsforUnity)

Title: Re: Unity Tutorials
Post by: Pfaber11 on April 25, 2019, 16:11:26
I know this is an old thread but I am now in the process of downloading unity 2019 . Never looked at it before and usually code in AGK classic which I really love . Just thought I would give it a try as the personal edition is free so nothing to lose . Don't know anything about C# as of yet but am going to take a look and see what I think. just looked and it's about 80% done . I'll post back later and tell you what I think. Gonna try finding some free tutorials for me to take a look at .
Title: Re: Unity Tutorials
Post by: Pfaber11 on April 25, 2019, 19:33:31
well it's all downloaded and up and running . Haven't got a clue what I'm doing with it as of yet . Gonna try and find a tutorial . Took ages to download and get it installed , it failed the first time on about 96% .  Hmm. If anybody has any tips on where to start it might prove useful. Got visual studio 2019.
Title: Re: Unity Tutorials
Post by: 3DzForMe on April 25, 2019, 21:53:23
My son's expressed an interest in coding.... Cue unity downloading onto his 64 bit desktop, woo hoo!

[Edit] More like Boo hoo, the primary IDE for Unity is second rate compared to IDEal:

Title: Re: Unity Tutorials
Post by: Pfaber11 on April 26, 2019, 12:21:20
well I had a play around with unity and so far I think it's horrible . It's the syntax I don't like . Just not my cup of tea. Much prefer AGK2 which I've been using for the last 15 months and really like . What I really wanted was to learn a professional language which might lead to some sort of employment hence why I looked at unity . At least it didn't cost me anything to discover I don't get on with it . I will leave it on my hard drive in case I decide to take another look but I don't think I'll be heading in that direction.
Title: Re: Unity Tutorials
Post by: Qube on April 26, 2019, 15:51:50
Quote from: 3DzForMe on April 25, 2019, 21:53:23
My son's expressed an interest in coding.... Cue unity downloading onto his 64 bit desktop, woo hoo!

[Edit] More like Boo hoo, the primary IDE for Unity is second rate compared to IDEal:
What?, eh? - The primary IDE ( for code ) in Unity is Visual Studio and is probably one of the best IDE's you can get. It's far from second rate :o


Quote from: Pfaber11 on April 26, 2019, 12:21:20
well I had a play around with unity and so far I think it's horrible . It's the syntax I don't like . Just not my cup of tea.
You don't like C# or you didn't like the wordy Unity API?. AGK is very wordy too.
Title: Re: Unity Tutorials
Post by: plenatus on April 26, 2019, 18:00:55
Indeed Visual Studio is a nice piece of software.There are also some nice extensions to make the coding smoother.I dislike C# but i use it for C++.

Btw. my son is 10 years old and is also interest in coding.
He take a book "coding for kids with c++" but i think its a little bit to heavy.
Especially because our native language is not english.
But he is young and have time enough to learn what he want.

Title: Re: Unity Tutorials
Post by: 3DzForMe on April 26, 2019, 18:07:33
Quote.  What?, eh? - The primary IDE ( for code ) in Unity is Visual Studio and is probably one of the best IDE's you can get. It's far from second rate :o       

I've used various incarnation s of visual studio, when it works it's great, on this occasion however the installation failed, it possibly wasn't to clear from the screen grab.

IDEal is smaller, and.... It works. Working is kind of a pre requisite in order for something to warrant rating. :-[

I was relishing using C sharp again ( I'd a job working from home using it a while ago ), regretably, it failed to install. Struggles to be even second rate...... If it doesn't work. Bloatware for ya!

I'm almost past, if at first you don't succeed, try, try again post installation failures. B3D plus IDEal just.... Works, yep, on Windows 10. Shockaroony!
Title: Re: Unity Tutorials
Post by: Qube on April 26, 2019, 18:29:53
QuoteI've used various incarnation s of visual studio, when it works it's great, on this occasion however the installation failed, it possibly wasn't to clear from the screen grab.
Ah, I see now, the installation of VS failed :o

QuoteI'm almost past, if at first you don't succeed, try, try again post installation failures.
Yup, if an install fails then that's it for me. I won't faff about for ever in a day trying to get it working. Install or get deleted, that's the best way to keep your sanity ;D
Title: Re: Unity Tutorials
Post by: 3DzForMe on April 26, 2019, 21:24:55
QuoteInstall or get deleted, that's the best way to keep your sanity ;D   

Unity's blown it, BRL's finest product in my view - for all its recent misgivings - still works. B3D Rocks ;)

BMax comes a close 2nd. And yes, I've Visual Express community edition installed on my old W7 560p computer - it is a good IDE, when it wants to behave. ;)

The old dev box seems to have bit the dust big style today - its has buckets of use over the decade of use - it would appear the Big Dark Adventure was one adventure to far - but it was good enough to let me get my Speccy Dev files off before pushing up the daisies.


Heres a thought, Visual Express works well on my cheap 2nd hand 32 bit laptop - maybe it struggles with 64 bit???  Yeah, yeah, I know..... ^-^
Title: Re: Unity Tutorials
Post by: Pfaber11 on April 27, 2019, 09:06:18
I had to download it twice failed the first time . took ages too. The first time I downloaded the 2017 version then on my second attempt I downloaded the 2019 version that worked.
Title: Re: Unity Tutorials
Post by: 3DzForMe on April 27, 2019, 14:55:42
I went for 2019 version, didn't work, it's had its chance. I'm quite impressed with AGK s offerings.